Use default resize function for microbit gesture dropdown (#2491)
This commit is contained in:
parent
1966dfbb5f
commit
dc33f3342f
@ -18,7 +18,7 @@ export class FieldGestures extends pxtblockly.FieldImages implements Blockly.Fie
|
||||
this.addLabel_ = true;
|
||||
|
||||
this.setText = Blockly.FieldDropdown.prototype.setText;
|
||||
this.updateWidth = (Blockly.Field as any).prototype.updateWidth;
|
||||
this.updateSize_ = (Blockly.Field as any).prototype.updateSize_;
|
||||
this.updateTextNode_ = Blockly.Field.prototype.updateTextNode_;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user