Add forgotten brackets in Curve#isSelected() and remove comments about backporting as it is ported now.

This commit is contained in:
Jürg Lehni 2011-04-27 10:52:56 +01:00
parent 1c9cd9ace4
commit 41eb09f15f

View file

@ -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() {