Commit graph

10 commits

Author SHA1 Message Date
Tusooa Zhu
98e1be19ec
Use native click for hiding overlay
The pointerup strategy is unsuccessful, as some other overlays
(Firefox's Inspect Element) will pass down pointerup events.
2022-02-20 22:53:25 -05:00
Tusooa Zhu
98baae9709
Clean up 2022-02-20 22:53:25 -05:00
Tusooa Zhu
43b285893a
Add swipe-click handler to media modal
Now swiping will correctly change the current media, and with a good
preview. Clicking without swiping closes the overlay.
2022-02-20 22:53:24 -05:00
Tusooa Zhu
a4253c0543
Handle pinch action 2022-02-20 22:53:24 -05:00
Tusooa Zhu
470cec3a6b
Preview swipe action 2022-02-20 22:53:24 -05:00
Tusooa Zhu
dc186d8b53
Make media modal be aware of multi-touch actions
Originally the media viewer would think every touch is a swipe (one-finger
touch event), so we would encounter the case where a two-finger scale event
would incorrectly change the current media. This is now fixed.
2022-02-20 22:51:54 -05:00
shpuld
1e2c304f76 fix typo 2019-03-28 22:11:05 +02:00
shpuld
c50e64f8ee Add tests for gesture service, fix bug with perpendicular directions 2019-03-26 22:11:45 +02:00
shpuld
e23c19468a somewhat functioning gesture service 2019-03-25 22:44:58 +02:00
shpuld
b13a751926 start creating gesture service 2019-03-25 20:27:44 +02:00