From fee61c739549cebe48b1f2ee7917c8e74fc305c9 Mon Sep 17 00:00:00 2001 From: sussy layers dev <72522395+jwklong@users.noreply.github.com> Date: Sun, 8 Dec 2024 18:30:13 +0000 Subject: [PATCH] disable collapsed option for now --- core/block_svg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/block_svg.js b/core/block_svg.js index 27ce04c5d2..14e1d9f484 100644 --- a/core/block_svg.js +++ b/core/block_svg.js @@ -730,7 +730,7 @@ Blockly.BlockSvg.prototype.showContextMenu_ = function(e) { if (this.isEditable() && this.workspace.options.comments) { menuOptions.push(Blockly.ContextMenu.blockCommentOption(block)); } - menuOptions.push(Blockly.ContextMenu.blockCollapseOption(block)); + //menuOptions.push(Blockly.ContextMenu.blockCollapseOption(block)); menuOptions.push(Blockly.ContextMenu.blockDeleteOption(block)); } else if (this.parentBlock_ && this.isShadow_ && this.type !== 'polygon') { this.parentBlock_.showContextMenu_(e);