Fix bad reference

This commit is contained in:
Rachel Fenichel
2019-10-30 14:25:48 -07:00
parent 5ef08fc0d4
commit e91304ede1

View File

@@ -141,7 +141,7 @@ Blockly.Icon.prototype.iconClick_ = function(e) {
*/
Blockly.Icon.prototype.applyColour = function() {
if (this.isVisible()) {
this.bubble_.setColour(this.block_.pathObject.primaryColour);
this.bubble_.setColour(this.block_.style.colourPrimary);
}
};