We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1dbf3bd commit c27eff8Copy full SHA for c27eff8
1 file changed
core/field_dropdown.js
@@ -205,6 +205,10 @@ Blockly.FieldDropdown.prototype.showEditor_ = function() {
205
menuItem.setRightToLeft(this.sourceBlock_.RTL);
206
menuItem.setValue(value);
207
menuItem.setCheckable(true);
208
+ if (this.sourceBlock_.textColour) {
209
+ menuItem.element_.style.color = this.sourceBlock_.textColour;
210
+ }
211
+
212
menu.addChild(menuItem, true);
213
var checked = (value == this.value_);
214
menuItem.setChecked(checked);
0 commit comments