mirror of
https://github.com/google/blockly.git
synced 2026-03-11 15:50:10 +01:00
Fixed lint error.
This commit is contained in:
@@ -525,8 +525,8 @@ Blockly.FieldDropdown.prototype.renderSelectedText_ = function() {
|
||||
this.textElement_.setAttribute('x', Blockly.Field.DEFAULT_TEXT_OFFSET);
|
||||
// Height and width include the border rect.
|
||||
this.size_.height = Blockly.Field.BORDER_RECT_DEFAULT_HEIGHT;
|
||||
this.size_.width = Blockly.utils.dom.getTextWidth(this.textElement_)
|
||||
+ Blockly.Field.X_PADDING;
|
||||
this.size_.width = Blockly.utils.dom.getTextWidth(this.textElement_) +
|
||||
Blockly.Field.X_PADDING;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user