Skip to content

Commit c27d4b2

Browse files
committed
move for loop next to other loops
1 parent 48673fd commit c27d4b2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/lib/make-toolbox-xml.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -628,6 +628,13 @@ const control = function (isInitialSetup, isStage) {
628628
</value>
629629
</block>
630630
<block id="forever" type="control_forever"/>
631+
<block id="for_each" type="control_for_each">
632+
<value name="VALUE">
633+
<shadow type="math_whole_number">
634+
<field name="NUM">10</field>
635+
</shadow>
636+
</value>
637+
</block>
631638
<block type="control_exitLoop"/>
632639
<block type="control_continueLoop"/>
633640
${blockSeparator}
@@ -654,13 +661,6 @@ const control = function (isInitialSetup, isStage) {
654661
<block id="wait_until" type="control_wait_until"/>
655662
<block id="repeat_until" type="control_repeat_until"/>
656663
<block id="while" type="control_while"/>
657-
<block id="for_each" type="control_for_each">
658-
<value name="VALUE">
659-
<shadow type="math_whole_number">
660-
<field name="NUM">10</field>
661-
</shadow>
662-
</value>
663-
</block>
664664
<block type="control_if_return_else_return">
665665
<value name="boolean"></value>
666666
<value name="TEXT1">

0 commit comments

Comments
 (0)