Skip to content

Commit

Permalink
Update field_textdropdown.js
Browse files Browse the repository at this point in the history
  • Loading branch information
LilyMakesThings authored Feb 1, 2024
1 parent 7568e9b commit 0788ba2
Showing 1 changed file with 1 addition and 27 deletions.
28 changes: 1 addition & 27 deletions core/field_textdropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Blockly.FieldTextDropdown.CHECKMARK_OVERHANG = Blockly.FieldDropdown.CHECKMARK_O
/**
* Mouse cursor style when over the hotspot that initiates the editor.
*/
Blockly.FieldTextDropdown.prototype.CURSOR = Blockly.FieldDropdown.prototype.CURSOR;
Blockly.FieldTextDropdown.prototype.CURSOR = Blockly.FieldTextInput.prototype.CURSOR;

/**
* Closure menu item currently selected.
Expand All @@ -95,21 +95,6 @@ Blockly.FieldTextDropdown.prototype.selectedItem = Blockly.FieldDropdown.prototy
*/
Blockly.FieldTextDropdown.prototype.value_ = Blockly.FieldDropdown.prototype.value_;

/**
* SVG image element if currently selected option is an image, or null.
* @type {SVGElement}
* @private
*/
Blockly.FieldTextDropdown.prototype.imageElement_ = Blockly.FieldDropdown.prototype.imageElement_;

/**
* Object with src, height, width, and alt attributes if currently selected
* option is an image, or null.
* @type {Object}
* @private
*/
Blockly.FieldTextDropdown.prototype.imageJson_ = Blockly.FieldDropdown.prototype.imageJson_;

/**
* Install this text drop-down field on a block.
*/
Expand Down Expand Up @@ -171,11 +156,6 @@ Blockly.FieldTextDropdown.prototype.onHide = Blockly.FieldDropdown.prototype.onH
*/
Blockly.FieldTextDropdown.prototype.onItemSelected = Blockly.FieldDropdown.prototype.onItemSelected;

/**
* @private
*/
Blockly.FieldTextDropdown.prototype.trimOptions_ = Blockly.FieldDropdown.prototype.trimOptions_;

/**
* Return a list of the options for this dropdown.
* See: Blockly.FieldDropDown.prototype.getOptions_.
Expand All @@ -197,12 +177,6 @@ Blockly.FieldTextDropdown.prototype.getValue = Blockly.FieldDropdown.prototype.g
*/
Blockly.FieldTextDropdown.prototype.setValue = Blockly.FieldDropdown.prototype.setValue;

/**
* Sets the text in this field. Trigger a rerender of the source block.
* @param {?string} text New text.
*/
Blockly.FieldTextDropdown.prototype.setText = Blockly.FieldDropdown.prototype.setText;

/**
* @return {boolean} True if the option list is generated by a function.
* Otherwise false.
Expand Down

0 comments on commit 0788ba2

Please sign in to comment.