Skip to content

Commit

Permalink
Merge branch 'main' into docs/fix-world-route
Browse files Browse the repository at this point in the history
  • Loading branch information
spydon authored Feb 2, 2025
2 parents cec45fd + e6ce24e commit ccef5d7
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions doc/flame/inputs/tap_events.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,12 @@ Every component that received an `onTapDown` event will eventually receive eithe

### onLongTapDown

If the user holds their finger down for some time (as configured by the `.longTapDelay` property
in `MultiTapDispatcher`), "long tap" will be triggered. This event invokes the
`void onLongTapDown(TapDownEvent)` handler on those components that previously received the
If the user holds their finger down for some time, "long tap" will be triggered. This event invokes
the `void onLongTapDown(TapDownEvent)` handler on those components that previously received the
`onTapDown` event.

By default, the `.longTapDelay` is set to 300 milliseconds, what may be different of the system default.
You can change this value by setting the `TapConfig.longTapDelay` value.
By default, the `.longTapDelay` is set to 300 milliseconds, what may be different of the system
default. You can change this value by setting the `TapConfig.longTapDelay` value.
It may also be useful for specific accessibility needs.


Expand Down

0 comments on commit ccef5d7

Please sign in to comment.