kopia lustrzana https://github.com/Tldraw/Tldraw
7 wiersze
222 B
TypeScript
7 wiersze
222 B
TypeScript
|
import { TLPerformanceMode } from '@tldraw/core'
|
||
|
import type { Action } from 'state/constants'
|
||
|
|
||
|
export const setTransformPerformanceMode: Action = (data) => {
|
||
|
data.performanceMode = TLPerformanceMode.TransformSelected
|
||
|
}
|