Commit Graph

7 Commits

Author SHA1 Message Date
Felix Zedén Yverås
cdecf7c633 feat: add basic touchscreen support
This is basically a migration from mouse events to
[pointer events](
  https://developer.mozilla.org/en-US/docs/Web/API/Pointer_events
).

The `PointerEvent` interface inherits all of the `MouseEvent`
properties, meaning that existing code can essentially be left
as-is. The only major change is making sure we only respond to the
"primary" pointer.

Known issues include:
* stylus hover is not detected
* touchscreens do not have a concept of hover, making it difficult
  to e.g. resize areas
* no touch gesture support, e.g. "pinch-to-zoom"
2024-07-14 15:36:54 +02:00
1ilit
2b4b01c358 Configure i18n and add simplified chinese (#99) 2024-05-16 06:45:47 +03:00
1ilit
9efee285c8 Fix subject area title overflow 2024-04-14 10:28:08 +03:00
haecheonlee
cc32ffdd80 Fix rendering area in safari 2024-04-13 20:30:56 -04:00
1ilit
155810d7e6 Fix typo 2024-04-06 10:27:18 +03:00
1ilit
1efd72dfe3 Use ColorPallete in area popover 2024-04-06 09:56:20 +03:00
1ilit
9df9527950 Reorganize files 2024-04-01 19:44:50 +03:00