FIX: hide sprite editor

pull/3/merge
Michael Aschauer 2016-02-18 15:48:55 +01:00
rodzic 89d6e34231
commit a30aba90b1
1 zmienionych plików z 4 dodań i 3 usunięć

Wyświetl plik

@ -34,7 +34,7 @@ IDE_Morph.prototype.buildPanes = function () {
this.createCategories(); this.createCategories();
this.createPalette(); this.createPalette();
this.createStage(); this.createStage();
this.createSpriteEditor(); //this.createSpriteEditor();
this.createSpriteBar(); this.createSpriteBar();
this.createStatusDisplay(); this.createStatusDisplay();
}; };
@ -615,7 +615,7 @@ IDE_Morph.prototype.toggleAppMode = function (appMode) {
this.controlBar.stageSizeButton, this.controlBar.stageSizeButton,
this.controlBar.stageSizeButton, this.controlBar.stageSizeButton,
//this.controlBar.largeStageSizeButton, //this.controlBar.largeStageSizeButton,
this.spriteEditor, //this.spriteEditor,
this.palette, this.palette,
this.categories ]; this.categories ];
@ -871,6 +871,7 @@ IDE_Morph.prototype.fixLayout = function (situation) {
this.spriteBar.fixLayout(); this.spriteBar.fixLayout();
*/ */
// spriteEditor // spriteEditor
/*
if (this.spriteEditor.isVisible) { if (this.spriteEditor.isVisible) {
//this.spriteEditor.setPosition(this.spriteBar.bottomLeft()); //this.spriteEditor.setPosition(this.spriteBar.bottomLeft());
this.spriteEditor.setPosition(this.logo.bottomRight().add(padding)); 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()), Math.max(0, this.stage.left() - padding - this.spriteEditor.left()),
this.bottom() - this.spriteEditor.top() this.bottom() - this.spriteEditor.top()
)); ));
} }*/
this.statusDisplay.fixLayout(); this.statusDisplay.fixLayout();
} }