kopia lustrzana https://github.com/Tldraw/Tldraw
a220b2eff1
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 |
||
---|---|---|
.. | ||
clipboard | ||
useTranslation | ||
menuHelpers.ts | ||
useActions.tsx | ||
useActionsMenuSchema.tsx | ||
useAppEvents.ts | ||
useAppIsFocused.ts | ||
useAssetUrls.tsx | ||
useBreakpoint.tsx | ||
useCanRedo.ts | ||
useCanUndo.ts | ||
useClipboardEvents.ts | ||
useContextMenuSchema.tsx | ||
useCopyAs.ts | ||
useDialogsProvider.tsx | ||
useEventsProvider.tsx | ||
useExportAs.ts | ||
useHasLinkShapeSelected.ts | ||
useHelpMenuSchema.tsx | ||
useHighDpiCanvas.ts | ||
useInsertMedia.ts | ||
useKeyboardShortcuts.ts | ||
useKeyboardShortcutsSchema.tsx | ||
useLocalStorageState.ts | ||
useMenuIsOpen.ts | ||
useMenuSchema.tsx | ||
useOnlyFlippableShape.ts | ||
usePreloadIcons.ts | ||
usePrint.ts | ||
useReadonly.ts | ||
useShowAutoSizeToggle.ts | ||
useToastsProvider.tsx | ||
useToolbarSchema.tsx | ||
useTools.tsx |