Skip to content

Commit

Permalink
implement hotkey jumping shortcuts for ruler, #138
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Oct 28, 2019
1 parent ccc9fbc commit ba0c3ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion js/gravity-force-lab/GravityForceLabA11yStrings.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ define( require => {
value: 'Move in smaller steps with Shift plus Arrow keys, or Shift plus letter keys W, A, S, or D.'
},
jumpStartOfSpherePDOM: {
value: 'Jump start of ruler to center of m1 sphere with J plus S.'
value: 'Jump start of ruler to center of m1 sphere with J plus C.'
},
jumpHomePDOM: {
value: 'Jump to home position with J plus H.'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,12 +171,11 @@ define( require => {
[ shiftPlusArrowKeys, shiftPlusWASDKeys ], moveInSmallerStepsPDOMString );


const jumpStartRow = KeyboardHelpSection.createJumpKeyRow( 'S',
const jumpStartRow = KeyboardHelpSection.createJumpKeyRow( 'C',
jumpStartOfSphereString, jumpStartOfSpherePDOMString );

const jumpHomeRow = KeyboardHelpSection.createJumpKeyRow( 'H', jumpHomeString, jumpHomePDOMString );


super( moveOrJumpGrabbedRulerString, [ moveRulerRow, moveInSmallerStepsRow, jumpStartRow, jumpHomeRow ], options );
}
}
Expand Down

0 comments on commit ba0c3ac

Please sign in to comment.