Skip to content

Commit

Permalink
option name changes after #499
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegreenberg authored and marlitas committed Jun 28, 2022
1 parent 81fcc2f commit 7daab42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/NumberPicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ define( function( require ) {
phetioReadOnly: PhetioObject.DEFAULT_OPTIONS.phetioReadOnly,

// a11y
a11yPageValueDelta: 2 // {number} - change in value when using page up/page down, see AccessibleNumberSpinner
pageKeyboardStep: 2 // {number} - change in value when using page up/page down, see AccessibleNumberSpinner

}, options );

Expand Down Expand Up @@ -391,7 +391,7 @@ define( function( require ) {

// initialize accessibility features - must reach into up function to get delta
this.initializeAccessibleNumberSpinner( valueProperty, rangeProperty, this.enabledProperty, _.extend( {
a11yValueDelta: options.upFunction( valueProperty.get() ) - valueProperty.get()
keyboardStep: options.upFunction( valueProperty.get() ) - valueProperty.get()
}, options ) );

// update style with keyboard input, Emitters owned by this instance and disposed in AccessibleNumberSpinner
Expand Down

0 comments on commit 7daab42

Please sign in to comment.