mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-22 07:19:57 -05:00
Add forgotten brackets in Curve#isSelected() and remove comments about backporting as it is ported now.
This commit is contained in:
parent
1c9cd9ace4
commit
41eb09f15f
1 changed files with 1 additions and 3 deletions
|
@ -141,15 +141,13 @@ var Curve = this.Curve = Base.extend({
|
|||
|| this._path.closed && curves[curves.length - 1]) || null;
|
||||
},
|
||||
|
||||
// TODO: Port back to Scriptographer
|
||||
setSelected: function(selected) {
|
||||
this.getHandle1().setSelected(selected);
|
||||
this.getHandle2().setSelected(selected);
|
||||
},
|
||||
|
||||
// TODO: Port back to Scriptographer
|
||||
isSelected: function() {
|
||||
return this.getHandle1().isSelected() && this.getHandle2.isSelected();
|
||||
return this.getHandle1().isSelected() && this.getHandle2().isSelected();
|
||||
},
|
||||
|
||||
getCurveValues: function() {
|
||||
|
|
Loading…
Reference in a new issue