cleaned up hidden menu

snap7
jmoenig 2021-07-22 14:56:47 +02:00
rodzic 771bdeb34b
commit 14f62fdf4d
2 zmienionych plików z 1 dodań i 15 usunięć

Wyświetl plik

@ -36,6 +36,7 @@
* gui: restore custom palettes when activating a scene
* added new category feature to palette context menu
* gui, objects, scenes: fixed costume maximum extent
* gui: cleaned up hidden menu
### 2021-07-21
* user defined custom block palettes, under construction

Wyświetl plik

@ -4259,16 +4259,6 @@ IDE_Morph.prototype.projectMenu = function () {
}
menu.addPair('New scene', 'createNewScene');
menu.addPair('Add scene...', 'addScene');
if (shiftClicked) {
menu.addItem(
'New blocks palette...',
'createNewCategory',
backup,
new Color(100, 0, 0)
);
}
menu.addLine();
menu.addItem(
'Libraries...',
@ -4941,11 +4931,6 @@ IDE_Morph.prototype.addPaletteCategory = function (name, color) {
this.createPaletteHandle();
this.categories.fixLayout();
this.fixLayout();
/*
this.flushBlocksCache();
this.currentSprite.palette(this.currentCategory);
this.refreshPalette(true);
*/
};
IDE_Morph.prototype.save = function () {