fixed drag and drop regression bug

This commit is contained in:
Eric Rowell
2013-03-24 18:17:58 -07:00
parent 08bac6dc89
commit 3c63b13c95
3 changed files with 8 additions and 8 deletions

View File

@@ -93,7 +93,7 @@
ap = this.getAbsolutePosition(),
animNode = layer || this;
if(pos) {
if(pos && !dd.node) {
dd.node = this;
dd.offset.x = pos.x - ap.x;
dd.offset.y = pos.y - ap.y;

View File

@@ -425,7 +425,7 @@
}
//init stage drag and drop
if(dd && !go.isDragging() && this.isDraggable()) {
if(this.isDraggable()) {
this.startDrag(evt);
}
},