hide “save to disk” option behind shift-click again (has issues in Chrome)

pull/3/merge
Jens Mönig 2015-05-01 12:00:56 -04:00
rodzic b6efcaf17c
commit 052a3e07b3
1 zmienionych plików z 10 dodań i 7 usunięć

17
gui.js
Wyświetl plik

@ -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(