We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bfafde commit 1dbf3bdCopy full SHA for 1dbf3bd
core/field.js
@@ -701,6 +701,14 @@ Blockly.Field.prototype.updateTextNode_ = function() {
701
var textNode = document.createTextNode(text);
702
this.textElement_.appendChild(textNode);
703
704
+ if (this.textColour) {
705
+ this.textElement_.style.setProperty(
706
+ "fill",
707
+ this.textColour,
708
+ "important"
709
+ );
710
+ }
711
+
712
// Cached width is obsolete. Clear it.
713
this.size_.width = 0;
714
};
0 commit comments