add class 'blocklyBlockBackground' to rect

This commit is contained in:
Jacob Bloom 2016-10-04 00:17:59 -06:00
parent 82ef475a6b
commit f575c812ff

View file

@ -107,7 +107,8 @@ Blockly.FieldDropdown.prototype.init = function() {
'y': 0,
'width': this.size_.width,
'height': this.size_.height,
'stroke': this.sourceBlock_.getColourTertiary()
'stroke': this.sourceBlock_.getColourTertiary(),
'class': 'blocklyBlockBackground'
}, null);
this.fieldGroup_.insertBefore(this.box_, this.textElement_);
}