From f575c812ff3ed8b1683aa03c66dfa1660620326e Mon Sep 17 00:00:00 2001 From: Jacob Bloom Date: Tue, 4 Oct 2016 00:17:59 -0600 Subject: [PATCH] add class 'blocklyBlockBackground' to rect --- core/field_dropdown.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/field_dropdown.js b/core/field_dropdown.js index d6a6ddc2..276593bc 100644 --- a/core/field_dropdown.js +++ b/core/field_dropdown.js @@ -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_); }