Skip to content

Commit

Permalink
Fixed block menus
Browse files Browse the repository at this point in the history
  • Loading branch information
NoMod-Programming committed Jun 3, 2016
1 parent c2e74ab commit 0496e76
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Binary file modified bin/Scratch.swf
Binary file not shown.
Binary file modified bin/ScratchFor10.2.swf
Binary file not shown.
2 changes: 1 addition & 1 deletion src/scratch/BlockMenus.as
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ public class BlockMenus implements DragClient {
if ((basicMathOps.indexOf(op)) > -1) { menuHandler.changeOpMenu(evt, basicMathOps); return; }
if ((comparisonOps.indexOf(op)) > -1) { menuHandler.changeOpMenu(evt, comparisonOps); return; }
if (menuName == null) {
menuHandler.genericBlockMenu(evt); return;
if (menuItems) {
menuHandler.customMenu(evt,menuItems);
return;
menuHandler.genericBlockMenu(evt); return;
}
}
if (ExtensionManager.hasExtensionPrefix(op) && menuHandler.extensionMenu(evt, menuName)) return;
Expand Down

0 comments on commit 0496e76

Please sign in to comment.