Skip to content

Commit

Permalink
Merge branch 'LennardF1989:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
MagneticNeedle authored Apr 25, 2023
2 parents 90a37ea + 36e2ae2 commit ea89e49
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions src/web/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -1252,24 +1252,19 @@ BF2042Portal.Extensions = (function () {
"items.toggleToolbox",
"items.separatorWorkspace",
"items.exportBlocksWorkspace",
"items.importBlocksFromFile",
"items.separatorWorkspace",
"items.pasteFromClipboard",
"items.importBlocksFromFile"
];

const optionsBlockMenu = optionsBlock();
optionsBlockMenu.weight = -99;
optionsBlockMenu.options = [
"items.deleteModBlock",
"items.jumpToSubRoutine",
"items.separatorBlock",
"items.toggleComments",
"items.toggleInputs",
"items.toggleCollapse",
"items.separatorBlock",
"items.exportBlocksBlock",
"items.separatorBlock",
"items.copyToClipboard",
"items.exportBlocksBlock"
]

registerMenu(optionsWorkspaceMenu);
Expand Down Expand Up @@ -1301,7 +1296,10 @@ BF2042Portal.Extensions = (function () {
const contextMenuStructure = [
"items.addBlock",
"menus.optionsWorkspace",
"menus.optionsBlock"
"menus.optionsBlock",
"items.jumpToSubRoutine",
"items.copyToClipboard",
"items.pasteFromClipboard"
];

contextMenuStructure.forEach(function (item) {
Expand Down

0 comments on commit ea89e49

Please sign in to comment.