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:
Paul Kaplan committed 2018-04-10 14:31:49 -04:00
1 parent d177f4cd0c
commit da539ea6cd
1 file changed
+1 -1
+1 -1
View File
@@ -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);
}
}