Skip to content

Commit

Permalink
cleanup overridden default options, fixes #114
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Aug 3, 2023
1 parent 9d026b4 commit 0fd165b
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions js/common/view/DoubleArrowButton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,7 @@ export default class DoubleArrowButton extends RectangularPushButton {
yMargin: 5,
touchAreaXDilation: 7,
touchAreaYDilation: 7,
heightSizable: false,

// options related to fire-on-hold feature
fireOnHold: true,
fireOnHoldDelay: 400, // start to fire continuously after pressing for this long (milliseconds)
fireOnHoldInterval: 100 // fire continuously at this interval (milliseconds)

heightSizable: false
}, providedOptions );

options.listener = callback;
Expand Down

0 comments on commit 0fd165b

Please sign in to comment.