Skip to content

Commit

Permalink
FIX: hide sprite editor
Browse files Browse the repository at this point in the history
  • Loading branch information
backface committed Feb 18, 2016
1 parent 89d6e34 commit a30aba9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions stitchcode/stitchcodeGUI.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ IDE_Morph.prototype.buildPanes = function () {
this.createCategories();
this.createPalette();
this.createStage();
this.createSpriteEditor();
//this.createSpriteEditor();
this.createSpriteBar();
this.createStatusDisplay();
};
Expand Down Expand Up @@ -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 ];

Expand Down Expand Up @@ -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));
Expand All @@ -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();
}

Expand Down

0 comments on commit a30aba9

Please sign in to comment.