From d64d2e25cbc0b22eeba9185734ef897b1f672255 Mon Sep 17 00:00:00 2001 From: fustyles <34397289+fustyles@users.noreply.github.com> Date: Fri, 27 Dec 2024 22:34:10 +0800 Subject: [PATCH] Update blocks.js --- SpBlocklyJS/googlemap_20241226/blocks.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/SpBlocklyJS/googlemap_20241226/blocks.js b/SpBlocklyJS/googlemap_20241226/blocks.js index 49ed797a53..15fd81e55b 100644 --- a/SpBlocklyJS/googlemap_20241226/blocks.js +++ b/SpBlocklyJS/googlemap_20241226/blocks.js @@ -20,13 +20,13 @@ Blockly.Blocks['googlemap_initial'] = { Blockly.Blocks['googlemap_addmap'] = { init: function () { + this.appendDummyInput() + .appendField(Blockly.Msg["GOOGLEMAP"]) + .appendField(Blockly.Msg["GOOGLEMAP_ADDMAP"]); this.appendValueInput("divid") .setAlign(Blockly.ALIGN_RIGHT) .setCheck("String") - .appendField(Blockly.Msg["GOOGLEMAP_DIVID"]); - this.appendDummyInput() - .appendField(Blockly.Msg["GOOGLEMAP"]) - .appendField(Blockly.Msg["GOOGLEMAP_ADDMAP"]); + .appendField(Blockly.Msg["GOOGLEMAP_DIVID"]); this.appendValueInput("latitude") .setCheck("Number") .setAlign(Blockly.ALIGN_RIGHT)