kopia lustrzana https://github.com/backface/turtlestitch
new parameters to allow embedding projects
rodzic
ea05f7859f
commit
30caffbf02
13
gui.js
13
gui.js
|
@ -364,9 +364,22 @@ IDE_Morph.prototype.openIn = function (world) {
|
||||||
myself.shield.destroy();
|
myself.shield.destroy();
|
||||||
myself.shield = null;
|
myself.shield = null;
|
||||||
msg.destroy();
|
msg.destroy();
|
||||||
|
|
||||||
|
if (dict.editMode) {
|
||||||
|
myself.toggleAppMode(false);
|
||||||
|
} else {
|
||||||
myself.toggleAppMode(true);
|
myself.toggleAppMode(true);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!dict.noRun) {
|
||||||
myself.runScripts();
|
myself.runScripts();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (dict.hideControls) {
|
||||||
|
myself.controlBar.hide();
|
||||||
|
window.onbeforeunload = function (evt) {};
|
||||||
|
}
|
||||||
|
}
|
||||||
]);
|
]);
|
||||||
},
|
},
|
||||||
this.cloudError()
|
this.cloudError()
|
||||||
|
|
Ładowanie…
Reference in New Issue