summaryrefslogtreecommitdiff
path: root/gui.js
diff options
context:
space:
mode:
authorjmoenig <jens@moenig.org>2014-10-06 10:34:56 +0200
committerjmoenig <jens@moenig.org>2014-10-06 10:34:56 +0200
commit2ae675132a52b8fdb3bd52e80db858500de9f265 (patch)
tree521c9eb01ecadc7b2daa73651dfb5aa5b6eb5850 /gui.js
parent45e1f3193b6a0593f084df28ee3d8f194bcea448 (diff)
downloadsnap-byow-2ae675132a52b8fdb3bd52e80db858500de9f265.tar.gz
snap-byow-2ae675132a52b8fdb3bd52e80db858500de9f265.zip
fixed #604. Thanks, @Gubolin!
Diffstat (limited to 'gui.js')
-rw-r--r--gui.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/gui.js b/gui.js
index 2456277..04481cc 100644
--- a/gui.js
+++ b/gui.js
@@ -69,7 +69,7 @@ SpeechBubbleMorph*/
// Global stuff ////////////////////////////////////////////////////////
-modules.gui = '2014-October-02';
+modules.gui = '2014-October-06';
// Declarations
@@ -3354,6 +3354,7 @@ IDE_Morph.prototype.toggleStageSize = function (isSmall) {
myself.stageRatio += (1 - myself.stageRatio) / 2;
myself.setExtent(world.extent());
if (myself.stageRatio > 0.9) {
+ myself.stageRatio = 1;
myself.isSmallStage = false;
myself.setExtent(world.extent());
myself.controlBar.stageSizeButton.refresh();