Only select the original target after a drag.
This allows you to still drag clones around, but when you stop dragging, the original sprite gets selected.
This commit is contained in:
1 parent
d177f4cd0c
commit
da539ea6cd
1 file changed
+1
-1
@@ -900,7 +900,7 @@ class VirtualMachine extends EventEmitter {
|
||||
if (target) {
|
||||
this._dragTarget = null;
|
||||
target.stopDrag();
|
||||
this.setEditingTarget(target.id);
|
||||
this.setEditingTarget(target.sprite.clones[0].id);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user