Tldraw/packages/ui/src/lib
Steve Ruiz a220b2eff1
[feature] reduce motion (#1485)
This PR adds a user preference to reduce motion. When enabled the app
will not animate the camera (and perhaps skip other animations in the
future). It's actual implementation is as an `animateSpeed` property, so
we can also use it to speed up or slow down our animations if that's
something we want to do!

### Change Type

- [x] `minor` — New Feature

### Test Plan

1. Turn on reduce motion
2. Use minimap / camera features to zoom in / out / etc

- [x] Unit Tests

### Release Notes

- [editor] Add `reduceMotion` user preference
- Add reduce motion option to preferences
2023-05-30 15:22:49 +00:00
..
components Add playwright tests (#1484) 2023-05-30 15:28:56 +01:00
hooks [feature] reduce motion (#1485) 2023-05-30 15:22:49 +00:00
TldrawUi.tsx [mini-feature] Following indicator (#1468) 2023-05-25 15:41:49 +00:00
TldrawUiContextProvider.tsx Export Events stuff (#1360) 2023-05-12 09:45:32 +00:00
assetUrls.ts New vite-based examples app (#1226) 2023-05-05 13:10:36 +00:00
constants.ts transfer-out: transfer out 2023-04-25 12:01:25 +01:00
icon-types.ts [feature] add laser pointer (#1412) 2023-05-19 11:09:13 +00:00
overrides.ts transfer-out: transfer out 2023-04-25 12:01:25 +01:00