File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -640,18 +640,6 @@ export class FieldBitmap extends Blockly.Field<number[][]> {
640640 ) ;
641641 }
642642 }
643-
644- /**
645- * Returns this field's class.
646- *
647- * Used by keyboard navigation to look up the rules for navigating from this
648- * field.
649- *
650- * @returns This field's class.
651- */
652- getClass ( ) {
653- return FieldBitmap ;
654- }
655643}
656644
657645interface Buttons {
Original file line number Diff line number Diff line change @@ -728,6 +728,15 @@ export class FieldColour extends Blockly.Field<string> {
728728 // the static fromJson method.
729729 return new this ( options . colour , undefined , options ) ;
730730 }
731+
732+ /**
733+ * Returns the class of this field.
734+ *
735+ * @returns FieldColour.
736+ */
737+ getClass ( ) {
738+ return FieldColour ;
739+ }
731740}
732741
733742/** The default value for this field. */
You can’t perform that action at this time.
0 commit comments