We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da8649f commit 0028a53Copy full SHA for 0028a53
core/field_expandable_add.js
@@ -92,10 +92,10 @@ Blockly.FieldExpandableAdd.prototype.init = function() {
92
);
93
this.icon_ = Blockly.utils.createSvgElement('image',
94
{
95
- 'x': 5,
96
- 'y': 5,
97
- 'width': (this.size_.width / 1.5) * ratio,
98
- 'height': (this.size_.height / 1.5) * ratio,
+ 'x': 5 * ratio,
+ 'y': 5 * ratio,
+ 'width': this.size_.width / 1.5,
+ 'height': this.size_.height / 1.5,
99
'xlink:href': plusIcon,
100
'href': plusIcon,
101
},
0 commit comments