all unit tests are now passing except for filter tests

This commit is contained in:
Eric Rowell
2013-12-04 09:55:17 -08:00
parent f217200ed7
commit 89de3030af
5 changed files with 7 additions and 13 deletions

View File

@@ -225,9 +225,7 @@
* @memberof Kinetic.Node.prototype
*/
Kinetic.Factory.addGetter(Kinetic.Node, 'draggable', function() {
return false;
});
Kinetic.Factory.addGetter(Kinetic.Node, 'draggable', false);
/**
* get draggable

View File

@@ -538,7 +538,7 @@
y: this.attrs.y + it.getTranslation().y
};
this.setPosition(pos.x, pos.y);
this.setPosition({x:pos.x, y:pos.y});
this._setTransform(trans);
return this;
},