Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Nov 17, 2020
1 parent 440767a commit 16b31b6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions js/buttons/PushButtonModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class PushButtonModel extends ButtonModel {
listener: null, // {function} convenience for adding 1 listener, no args

// fire-on-hold feature
// TODO: these options are not supported with PDOM interaction, see https://github.com/phetsims/scenery/issues/1117
fireOnHold: false, // is the fire-on-hold feature enabled?
fireOnHoldDelay: 400, // start to fire continuously after pressing for this long (milliseconds)
fireOnHoldInterval: 100, // fire continuously at this interval (milliseconds), same default as in ButtonModel
Expand Down
2 changes: 2 additions & 0 deletions js/buttons/RectangularMomentaryButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* The 'off value' is the value when the button is not pressed.
* The 'on value' is the value when the button is pressed.
*
* TODO: Not supported with alternative input, see https://github.com/phetsims/scenery/issues/1117
*
* @author Chris Malley (PixelZoom, Inc.)
*/

Expand Down
2 changes: 2 additions & 0 deletions js/buttons/RoundMomentaryButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* The 'off value' is the value when the button is not pressed.
* The 'on value' is the value when the button is pressed.
*
* TODO: Not supported with alternative input, see https://github.com/phetsims/scenery/issues/1117
*
* @author Chris Malley (PixelZoom, Inc.)
*/

Expand Down

0 comments on commit 16b31b6

Please sign in to comment.