From 66eac4a90e652c9bcb4e3b2847e5dc6fdcd907ea Mon Sep 17 00:00:00 2001 From: Ianyourgod <104151459+Ianyourgod@users.noreply.github.com> Date: Mon, 8 Jul 2024 23:22:20 -0500 Subject: [PATCH] =?UTF-8?q?the=20foreach=20arrow=20update=20=F0=9F=94=A5?= =?UTF-8?q?=F0=9F=94=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- blocks_vertical/control.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/blocks_vertical/control.js b/blocks_vertical/control.js index 8cf9ce0890..d5acefb948 100644 --- a/blocks_vertical/control.js +++ b/blocks_vertical/control.js @@ -508,6 +508,8 @@ Blockly.Blocks['control_for_each'] = { "type": "control_for_each", "message0": Blockly.Msg.CONTROL_FOREACH, "message1": "%1", + "message2": "%1", + "lastDummyAlign2": "RIGHT", "args0": [ { "type": "field_variable", @@ -525,6 +527,16 @@ Blockly.Blocks['control_for_each'] = { "name": "SUBSTACK" } ], + "args2": [ + { + "type": "field_image", + "src": Blockly.mainWorkspace.options.pathToMedia + "repeat.svg", + "width": 24, + "height": 24, + "alt": "*", + "flip_rtl": true + } + ], "category": Blockly.Categories.control, "extensions": ["colours_control", "shape_statement"] });