Skip to content

Commit

Permalink
option name changes after phetsims/sun#499
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegreenberg committed May 8, 2019
1 parent 3ab5688 commit c7f8c7a
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 c7f8c7a

Please sign in to comment.