From a30aba90b169444042f7f686f0cc4327da2949d0 Mon Sep 17 00:00:00 2001 From: Michael Aschauer Date: Thu, 18 Feb 2016 15:48:55 +0100 Subject: [PATCH] FIX: hide sprite editor --- stitchcode/stitchcodeGUI.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/stitchcode/stitchcodeGUI.js b/stitchcode/stitchcodeGUI.js index d8c68a90..315c3e15 100644 --- a/stitchcode/stitchcodeGUI.js +++ b/stitchcode/stitchcodeGUI.js @@ -34,7 +34,7 @@ IDE_Morph.prototype.buildPanes = function () { this.createCategories(); this.createPalette(); this.createStage(); - this.createSpriteEditor(); + //this.createSpriteEditor(); this.createSpriteBar(); this.createStatusDisplay(); }; @@ -615,7 +615,7 @@ IDE_Morph.prototype.toggleAppMode = function (appMode) { this.controlBar.stageSizeButton, this.controlBar.stageSizeButton, //this.controlBar.largeStageSizeButton, - this.spriteEditor, + //this.spriteEditor, this.palette, this.categories ]; @@ -871,6 +871,7 @@ IDE_Morph.prototype.fixLayout = function (situation) { this.spriteBar.fixLayout(); */ // spriteEditor + /* if (this.spriteEditor.isVisible) { //this.spriteEditor.setPosition(this.spriteBar.bottomLeft()); this.spriteEditor.setPosition(this.logo.bottomRight().add(padding)); @@ -879,7 +880,7 @@ IDE_Morph.prototype.fixLayout = function (situation) { Math.max(0, this.stage.left() - padding - this.spriteEditor.left()), this.bottom() - this.spriteEditor.top() )); - } + }*/ this.statusDisplay.fixLayout(); }