mirror of
https://github.com/konvajs/konva.git
synced 2025-10-15 12:34:52 +08:00
refactored and optimized Image.js and Type.js
This commit is contained in:
@@ -154,7 +154,7 @@
|
||||
go._removeName(this.getName(), this._id);
|
||||
|
||||
// stop DD
|
||||
if(dd && dd.targetNode && dd.targetNode._id === this._id) {
|
||||
if(dd && dd.node && dd.node._id === this._id) {
|
||||
node._endDrag();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user