From 3e3db7e9cd76104e57d720b7ee42db35976ff8b2 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 3 Mar 2023 14:35:45 +0100 Subject: [PATCH] also deactivate hiding blocks (for now) --- stitchcode/objects.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/stitchcode/objects.js b/stitchcode/objects.js index af37bffe..b5d72c43 100644 --- a/stitchcode/objects.js +++ b/stitchcode/objects.js @@ -3396,6 +3396,7 @@ StageMorph.prototype.loadCameraSnapshot = function() { // overwrite palette and menu (to hide make new categories) SpriteMorph.prototype.palette = function (category) { + var myself = this; if (!this.paletteCache[category]) { this.paletteCache[category] = this.freshPalette(category); this.paletteCache[category].userMenu = function () { @@ -3410,11 +3411,7 @@ SpriteMorph.prototype.palette = function (category) { ], () => myself.searchBlocks(), '^F' - ); - menu.addItem( - 'hide blocks...', - () => new BlockVisibilityDialogMorph(myself).popUp(myself.world()) - ); + ); return menu; };