kopia lustrzana https://github.com/backface/turtlestitch
more fixes to prevent opening in new windows
- remove some project XMLs - remove a few from exporting sprite and stage pics - remove the false parameter (since it is the default) 'upd4.1
rodzic
914fa842d6
commit
63598c3994
3
gui.js
3
gui.js
|
@ -3916,8 +3916,7 @@ IDE_Morph.prototype.exportProjectSummary = function (useDropShadows) {
|
|||
this.saveFileAs(
|
||||
'<!DOCTYPE html>' + html.toString(),
|
||||
'text/html;charset=utf-8',
|
||||
pname,
|
||||
false // request opening a new window.
|
||||
pname
|
||||
);
|
||||
};
|
||||
|
||||
|
|
|
@ -9306,8 +9306,7 @@ WatcherMorph.prototype.userMenu = function () {
|
|||
inp.click();
|
||||
}
|
||||
);
|
||||
if (this.currentValue &&
|
||||
(isString(this.currentValue) || !isNaN(+this.currentValue))) {
|
||||
if (isString(this.currentValue) || !isNaN(+this.currentValue)) {
|
||||
menu.addItem(
|
||||
'export...',
|
||||
function () {
|
||||
|
@ -9315,8 +9314,7 @@ WatcherMorph.prototype.userMenu = function () {
|
|||
ide.saveFileAs(
|
||||
myself.currentValue.toString(),
|
||||
'text/plain;charset=utf-8',
|
||||
myself.getter, // variable name
|
||||
true
|
||||
myself.getter // variable name
|
||||
);
|
||||
}
|
||||
);
|
||||
|
|
Ładowanie…
Reference in New Issue