Files
UTM/Platform/iOS
osy 8304154849 display(iOS): recognize long press without waiting for tap
The long press recognizer required the tap recognizers to fail first. A
tap only fails once the finger has been held for well over a second, so
a normal long press was delivered as a tap when the finger lifted: the
"Right Click" action produced a left click (or nothing in touch mode)
and "Click & Hold" never pressed the button.

Reverse the dependency so the tap waits for the long press, which fails
as soon as a short touch ends and so adds no delay to taps. When the
long press action is disabled the recognizer is not allowed to begin,
otherwise holding before lifting would no longer click.

Reworked from #7697.

Assisted-by: Claude:claude-fable-5-1
2026-09-20 04:29:46 -05:00
..
2022-10-17 01:58:54 +02:00
2024-02-26 13:38:01 +09:00
2022-08-27 22:57:57 +03:00
2022-07-31 18:23:39 -07:00
2024-02-26 19:58:13 -08:00
2022-07-25 14:55:58 +09:00
2024-03-31 20:03:49 -07:00
2025-08-01 12:10:17 +08:00
2026-07-30 18:31:26 -07:00
2026-07-30 18:31:26 -07:00