Skip to content

Commit

Permalink
Remove hotkeys for fields 7 and 8 - see #7
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-blackman committed Jan 24, 2024
1 parent e84cc54 commit 590d31a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/common-vsm/view/FieldSelectorPanel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export default class FieldSelectorPanel<T extends VSMField> extends PDLPanel {

// a listener that selects a field based on the keystroke, regardless of where focus is in the document
this.addInputListener( new KeyboardListener( {
keys: [ '1', '2', '3', '4', '5', '6', '7', '8' ] as const,
keys: [ '1', '2', '3', '4', '5', '6' ] as const,
callback: ( event, keysPressed ) => {
const key = parseInt( keysPressed, 10 );
fieldProperty.value = fields[ key - 1 ];
Expand Down

0 comments on commit 590d31a

Please sign in to comment.