mirror of
https://github.com/google/blockly.git
synced 2026-01-16 05:17:09 +01:00
Resolve field angle overlap render problem (#2418)
* Rebuild and update version numbers * rebuild * Update version number to 1.20190419.0 * Resolve field angle overlap render problem * use block.getColourBorder() function
This commit is contained in:
@@ -207,9 +207,11 @@ Blockly.FieldAngle.prototype.showEditor_ = function() {
|
||||
}, svg);
|
||||
}
|
||||
|
||||
|
||||
Blockly.DropDownDiv.setColour(this.sourceBlock_.getColour(),
|
||||
this.sourceBlock_.getColour());
|
||||
|
||||
var border = this.sourceBlock_.getColourBorder();
|
||||
border = border.colourBorder == null ? border.colourLight : border.colourBorder;
|
||||
|
||||
Blockly.DropDownDiv.setColour(this.sourceBlock_.getColour(), border);
|
||||
Blockly.DropDownDiv.showPositionedByField(this);
|
||||
// The angle picker is different from other fields in that it updates on
|
||||
// mousemove even if it's not in the middle of a drag. In future we may
|
||||
|
||||
Reference in New Issue
Block a user