mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 15:02:52 -05:00
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:
parent
d177f4cd0c
commit
da539ea6cd
1 changed files with 1 additions and 1 deletions
|
@ -900,7 +900,7 @@ class VirtualMachine extends EventEmitter {
|
||||||
if (target) {
|
if (target) {
|
||||||
this._dragTarget = null;
|
this._dragTarget = null;
|
||||||
target.stopDrag();
|
target.stopDrag();
|
||||||
this.setEditingTarget(target.id);
|
this.setEditingTarget(target.sprite.clones[0].id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue