From 3d7e38fefd8f617e6243aef7698c927be3e559e9 Mon Sep 17 00:00:00 2001 From: jwklong <72522395+jwklong@users.noreply.github.com> Date: Wed, 15 Jan 2025 16:29:55 +0000 Subject: [PATCH] ok i think i got input shape working --- core/block_render.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/block_render.js b/core/block_render.js index 6cc14626de..1615f5eac6 100644 --- a/core/block_render.js +++ b/core/block_render.js @@ -341,11 +341,11 @@ Blockly.BlockSvg.INPUT_SHAPE_HEXAGONAL_WIDTH = 12 * Blockly.BlockSvg.GRID_UNIT; Blockly.BlockSvg.INPUT_SHAPE_SQUARE = Blockly.BlockSvg.TOP_LEFT_CORNER_START + Blockly.BlockSvg.TOP_LEFT_CORNER + - ' h ' + (10 * Blockly.BlockSvg.GRID_UNIT - 2 * Blockly.BlockSvg.CORNER_RADIUS) + + ' h ' + (12 * Blockly.BlockSvg.GRID_UNIT - 2 * Blockly.BlockSvg.CORNER_RADIUS) + Blockly.BlockSvg.TOP_RIGHT_CORNER + ' v ' + (8 * Blockly.BlockSvg.GRID_UNIT - 2 * Blockly.BlockSvg.CORNER_RADIUS) + Blockly.BlockSvg.BOTTOM_RIGHT_CORNER + - ' h ' + (-10 * Blockly.BlockSvg.GRID_UNIT + 2 * Blockly.BlockSvg.CORNER_RADIUS) + + ' h ' + (-12 * Blockly.BlockSvg.GRID_UNIT + 2 * Blockly.BlockSvg.CORNER_RADIUS) + Blockly.BlockSvg.BOTTOM_LEFT_CORNER + ' z';