Skip to content

Commit

Permalink
fix: hide disable and inline inputs contextual menu items (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
gonfunko authored Apr 22, 2024
1 parent 1645129 commit c548298
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,5 @@ export function inject(container, options) {
}

Blockly.Scrollbar.scrollbarThickness = Blockly.Touch.TOUCH_ENABLED ? 14 : 11;
Blockly.ContextMenuRegistry.registry.unregister('blockDisable');
Blockly.ContextMenuRegistry.registry.unregister('blockInline');

0 comments on commit c548298

Please # to comment.