kopia lustrzana https://github.com/backface/turtlestitch
cleaned up hidden menu
rodzic
771bdeb34b
commit
14f62fdf4d
|
@ -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
|
||||
|
|
15
src/gui.js
15
src/gui.js
|
@ -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 () {
|
||||
|
|
Ładowanie…
Reference in New Issue