Skip to content
Snippets Groups Projects
Unverified Commit f073df47 authored by Paul Kaplan's avatar Paul Kaplan Committed by GitHub
Browse files

Merge pull request #1010 from paulkaplan/prioritize-random

Reorder menu options so random position is above mouse-pointer
parents 445732b7 87d94cc5
No related branches found
No related tags found
No related merge requests found
...@@ -110,16 +110,16 @@ export default function (vm) { ...@@ -110,16 +110,16 @@ export default function (vm) {
ScratchBlocks.Blocks.motion_goto_menu.init = function () { ScratchBlocks.Blocks.motion_goto_menu.init = function () {
const json = jsonForMenuBlock('TO', spriteMenu, motionColors, [ const json = jsonForMenuBlock('TO', spriteMenu, motionColors, [
['mouse-pointer', '_mouse_'], ['random position', '_random_'],
['random position', '_random_'] ['mouse-pointer', '_mouse_']
]); ]);
this.jsonInit(json); this.jsonInit(json);
}; };
ScratchBlocks.Blocks.motion_glideto_menu.init = function () { ScratchBlocks.Blocks.motion_glideto_menu.init = function () {
const json = jsonForMenuBlock('TO', spriteMenu, motionColors, [ const json = jsonForMenuBlock('TO', spriteMenu, motionColors, [
['mouse-pointer', '_mouse_'], ['random position', '_random_'],
['random position', '_random_'] ['mouse-pointer', '_mouse_']
]); ]);
this.jsonInit(json); this.jsonInit(json);
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment