diff options
| author | Jens Mönig <jens@moenig.org> | 2015-05-01 12:00:56 -0400 |
|---|---|---|
| committer | Jens Mönig <jens@moenig.org> | 2015-05-01 12:00:56 -0400 |
| commit | 052a3e07b31d59a88343faa55001314ad058820e (patch) | |
| tree | 0be31e496b7437d33c80d2ee865accfe6082d6e0 | |
| parent | b6efcaf17c0230d5eea3f3d8a6d30e142c8d67cf (diff) | |
| download | snap-052a3e07b31d59a88343faa55001314ad058820e.tar.gz snap-052a3e07b31d59a88343faa55001314ad058820e.zip | |
hide “save to disk” option behind shift-click again (has issues in Chrome)
| -rw-r--r-- | gui.js | 17 |
1 files changed, 10 insertions, 7 deletions
@@ -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( |
