Skip to content

Commit

Permalink
fix: make FieldNumber a subclass of FieldTextInput (#214)
Browse files Browse the repository at this point in the history
  • Loading branch information
gonfunko authored Oct 14, 2024
1 parent c3ee958 commit 3ae2235
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fields/field_number.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ import { Colours } from "../colours.js";
* @extends {Blockly.FieldTextInput}
* @constructor
*/
class FieldNumberPicker extends Blockly.FieldNumber {
class FieldNumberPicker extends Blockly.FieldTextInput {
/**
* Fixed width of the num-pad drop-down, in px.
* @type {number}
Expand Down

0 comments on commit 3ae2235

Please sign in to comment.