Switch to using the style object in the path object.

This commit is contained in:
Rachel Fenichel
2019-10-30 14:22:35 -07:00
parent ca1e49bf8e
commit 5ef08fc0d4
10 changed files with 141 additions and 152 deletions

View File

@@ -269,8 +269,8 @@ Blockly.FieldAngle.prototype.showEditor_ = function() {
var editor = this.dropdownCreate_();
Blockly.DropDownDiv.getContentDiv().appendChild(editor);
Blockly.DropDownDiv.setColour(this.sourceBlock_.getColour(),
this.sourceBlock_.getTertiaryColour());
Blockly.DropDownDiv.setColour(this.sourceBlock_.style.colourPrimary,
this.sourceBlock_.style.colourTertiary);
Blockly.DropDownDiv.showPositionedByField(
this, this.dropdownDispose_.bind(this));