tldraw/apps
alex af664d55df
fix coarse pointer detection (#3795)
Previously, we were using touch and mouse events to detect when we were
in coarse/fine pointer mode. The problem with this is that many mobile
devices emulate mouse events for backwards compatibility with websites
not built for touch - so many touch events result in mouse events too.

The solution to this is to use the unified pointer events API, and check
the `pointerType` property to determine the device the user is using.

This diff also contains some changes to make it so that multiplayer
rooms "just work" over the LAN when devloping locally.

### Change Type
- [x] `sdk` — Changes the tldraw SDK
- [x] `bugfix` — Bug fix

### Release Notes

- Fix a bug where coarse-pointer mode would get incorrectly detected on
some touch devices
2024-05-21 16:20:27 +00:00
..
apps-script google meet: add hardware whiteboard integration (#3765) 2024-05-20 14:52:05 +00:00
docs Update READMEs, add form link (#3741) 2024-05-12 20:48:07 +00:00
dotcom fix coarse pointer detection (#3795) 2024-05-21 16:20:27 +00:00
dotcom-asset-upload Bump the npm_and_yarn group group with 7 updates (#2982) 2024-03-04 12:20:23 +00:00
dotcom-bookmark-extractor bump typescript / api-extractor (#2949) 2024-02-25 11:43:17 +00:00
dotcom-worker fix coarse pointer detection (#3795) 2024-05-21 16:20:27 +00:00
examples E2E camera tests (#3747) 2024-05-19 01:02:06 +00:00
health-worker [dx] Allow vscode to search inside md files by default (#3105) 2024-03-11 14:08:04 +00:00
huppy [DX] PR labels revamp (#3112) 2024-03-12 14:53:57 +00:00
vscode focus: rework and untangle existing focus management logic in the sdk (#3718) 2024-05-17 08:53:57 +00:00