diff options
| author | jmoenig <jens@moenig.org> | 2015-01-13 08:37:33 +0100 |
|---|---|---|
| committer | jmoenig <jens@moenig.org> | 2015-01-13 08:37:33 +0100 |
| commit | 4a3cf0aa3bc4778821801ec325fb2fd9dbbd038b (patch) | |
| tree | cb90153b4ff676dac245fca701e9b1a7a91ed25e /gui.js | |
| parent | 14821611faf72b86c886eb10d221f0ed550bb7e7 (diff) | |
| download | snap-byow-4a3cf0aa3bc4778821801ec325fb2fd9dbbd038b.tar.gz snap-byow-4a3cf0aa3bc4778821801ec325fb2fd9dbbd038b.zip | |
fixed #680
Diffstat (limited to 'gui.js')
| -rw-r--r-- | gui.js | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -69,7 +69,7 @@ SpeechBubbleMorph*/ // Global stuff //////////////////////////////////////////////////////// -modules.gui = '2015-January-12'; +modules.gui = '2015-January-13'; // Declarations @@ -3343,6 +3343,15 @@ IDE_Morph.prototype.toggleAppMode = function (appMode) { }).forEach(function (s) { s.adjustScrollBars(); }); + // prevent rotation and draggability controls from + // showing for the stage + if (this.currentSprite === this.stage) { + this.spriteBar.children.forEach(function (child) { + if (child instanceof PushButtonMorph) { + child.hide(); + } + }); + } } this.setExtent(this.world().extent()); // resume trackChanges }; |
