mirror of
https://github.com/scratchfoundation/scratch-blocks.git
synced 2025-08-28 22:10:31 -04:00
add class 'blocklyBlockBackground' to rect
This commit is contained in:
parent
82ef475a6b
commit
f575c812ff
1 changed files with 2 additions and 1 deletions
|
@ -107,7 +107,8 @@ Blockly.FieldDropdown.prototype.init = function() {
|
||||||
'y': 0,
|
'y': 0,
|
||||||
'width': this.size_.width,
|
'width': this.size_.width,
|
||||||
'height': this.size_.height,
|
'height': this.size_.height,
|
||||||
'stroke': this.sourceBlock_.getColourTertiary()
|
'stroke': this.sourceBlock_.getColourTertiary(),
|
||||||
|
'class': 'blocklyBlockBackground'
|
||||||
}, null);
|
}, null);
|
||||||
this.fieldGroup_.insertBefore(this.box_, this.textElement_);
|
this.fieldGroup_.insertBefore(this.box_, this.textElement_);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue