Skip to content

Commit 40291ea

Browse files
authored
field_expandable_add.js -- fix custom shape display
1 parent cf57a09 commit 40291ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/field_expandable_add.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Blockly.FieldExpandableAdd.prototype.init = function() {
7272
}
7373
Blockly.FieldExpandableAdd.superClass_.init.call(this);
7474

75-
this.size_.width = 32;
75+
this.size_.width = Blockly.BlockSvg.FIELD_HEIGHT;
7676
this.overrideSep = 1;
7777
this.boxGroup_ = Blockly.utils.createSvgElement('g', {}, null);
7878
this.box_ = Blockly.utils.createSvgElement('rect',

0 commit comments

Comments
 (0)