mirror of
https://github.com/konvajs/konva.git
synced 2026-01-09 11:34:38 +08:00
all unit tests are now passing except for filter tests
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user