pull/3282/head
Steve Ruiz 2024-04-18 14:05:39 +01:00
rodzic 20cbb6d4bf
commit ced1eadd8c
2 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -12,8 +12,8 @@ import {
import 'tldraw/tldraw.css'
const CAMERA_OPTIONS: TLCameraOptions = {
wheelBehavior: 'pan',
isLocked: false,
wheelBehavior: 'pan',
panSpeed: 1,
zoomSpeed: 1,
zoomSteps: [0.1, 0.25, 0.5, 1, 2, 4, 8],

Wyświetl plik

@ -13,11 +13,11 @@ export const ANIMATION_MEDIUM_MS = 320
/** @internal */
export const DEFAULT_CAMERA_OPTIONS: TLCameraOptions = {
zoomSteps: [0.1, 0.25, 0.5, 1, 2, 4, 8],
zoomSpeed: 1,
panSpeed: 1,
isLocked: false,
wheelBehavior: 'pan',
panSpeed: 1,
zoomSpeed: 1,
zoomSteps: [0.1, 0.25, 0.5, 1, 2, 4, 8],
}
export const FOLLOW_CHASE_PROPORTION = 0.5