kopia lustrzana https://github.com/backface/turtlestitch
hide “save to disk” option behind shift-click again (has issues in Chrome)
rodzic
b6efcaf17c
commit
052a3e07b3
17
gui.js
17
gui.js
|
@ -69,7 +69,7 @@ SpeechBubbleMorph*/
|
|||
|
||||
// Global stuff ////////////////////////////////////////////////////////
|
||||
|
||||
modules.gui = '2015-March-15';
|
||||
modules.gui = '2015-May-01';
|
||||
|
||||
// Declarations
|
||||
|
||||
|
@ -2384,12 +2384,15 @@ IDE_Morph.prototype.projectMenu = function () {
|
|||
menu.addItem('New', 'createNewProject');
|
||||
menu.addItem('Open...', 'openProjectsBrowser');
|
||||
menu.addItem('Save', "save");
|
||||
menu.addItem(
|
||||
'Save to disk',
|
||||
'saveProjectToDisk',
|
||||
'store this project\nin the downloads folder\n'
|
||||
+ '(in supporting browsers)'
|
||||
);
|
||||
if (shiftClicked) {
|
||||
menu.addItem(
|
||||
'Save to disk',
|
||||
'saveProjectToDisk',
|
||||
'store this project\nin the downloads folder\n'
|
||||
+ '(in supporting browsers)',
|
||||
new Color(100, 0, 0)
|
||||
);
|
||||
}
|
||||
menu.addItem('Save As...', 'saveProjectsBrowser');
|
||||
menu.addLine();
|
||||
menu.addItem(
|
||||
|
|
Ładowanie…
Reference in New Issue