summaryrefslogtreecommitdiff
path: root/gui.js
diff options
context:
space:
mode:
authorjmoenig <jens@moenig.org>2013-04-09 09:52:24 +0200
committerjmoenig <jens@moenig.org>2013-04-09 09:52:24 +0200
commit855d12a18c67612848af8ccf8012163769720eb1 (patch)
tree69c7b885d4d240cb1c234e781a5e8a79468293d1 /gui.js
parentcd41e7c644d77a396ec80d5f32abe14be7cfcc6b (diff)
downloadsnap-byow-855d12a18c67612848af8ccf8012163769720eb1.tar.gz
snap-byow-855d12a18c67612848af8ccf8012163769720eb1.zip
"Fixed #3" Follow-up
Diffstat (limited to 'gui.js')
-rw-r--r--gui.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/gui.js b/gui.js
index 07d4f07..1eab70b 100644
--- a/gui.js
+++ b/gui.js
@@ -68,7 +68,7 @@ sb, CommentMorph, CommandBlockMorph*/
// Global stuff ////////////////////////////////////////////////////////
-modules.gui = '2013-April-08';
+modules.gui = '2013-April-09';
// Declarations
@@ -142,6 +142,8 @@ IDE_Morph.prototype.init = function (isAutoFill) {
this.isAnimating = true;
this.stageRatio = 1; // for IDE animations, e.g. when zooming
+ this.loadNewProject = false; // flag when starting up translated
+
// initialize inherited properties:
IDE_Morph.uber.init.call(this);
@@ -2806,7 +2808,7 @@ IDE_Morph.prototype.reflectLanguage = function (lang) {
this.createCategories();
this.createCorralBar();
this.fixLayout();
- if (this.loadNewProject){
+ if (this.loadNewProject) {
this.newProject();
} else {
this.openProjectString(projectData);