Fix arrangement/sort options in Blockly context menu
The context menu items for arranging blocks and sorting by category did not have expected behavior due to the new Blockly events system. This commit introduces two new events StartArrangeBlocks and EndArrangeBlocks that will manipulate the appropriate flags so the context menu options work correctly. We also group the arrangement events in a single group. This makes the undo/redo menu options behave correctly rather than undoing/redoing individual moves within the larger arrangement action. Change-Id: Icb832eef1f91aec5a12025707e9c39b3257987af
Showing
Please register or sign in to comment