mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 15:02:52 -05:00
Merge branch 'develop' of https://github.com/LLK/scratch-vm into feature/serialization
# Conflicts: # src/virtual-machine.js
This commit is contained in:
commit
4f59e98bc8
1 changed files with 2 additions and 0 deletions
|
@ -240,6 +240,8 @@ class VirtualMachine extends EventEmitter {
|
|||
return sb2.deserialize(json, this.runtime, true).then(targets => {
|
||||
this.runtime.targets.push(targets[0]);
|
||||
this.editingTarget = targets[0];
|
||||
this.editingTarget.updateAllDrawableProperties();
|
||||
|
||||
// Update the VM user's knowledge of targets and blocks on the workspace.
|
||||
this.emitTargetsUpdate();
|
||||
this.emitWorkspaceUpdate();
|
||||
|
|
Loading…
Reference in a new issue