Skip to content

Commit 5207ce2

Browse files
committed
Merge pull request #181 from tmickel/feature/pants-width
Update MIN_BLOCK_X so statement-blocks start smaller
2 parents 9d763ce + bb9bf2c commit 5207ce2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/block_render_svg_horizontal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Blockly.BlockSvg.TEXT_FIELD_CORNER_RADIUS = 1 * Blockly.BlockSvg.GRID_UNIT;
8484
* Minimum width of a block.
8585
* @const
8686
*/
87-
Blockly.BlockSvg.MIN_BLOCK_X = 16 * Blockly.BlockSvg.GRID_UNIT;
87+
Blockly.BlockSvg.MIN_BLOCK_X = 1/2 * 16 * Blockly.BlockSvg.GRID_UNIT;
8888

8989
/**
9090
* Minimum height of a block.

0 commit comments

Comments
 (0)