defaultTldrawOptions

See source code
defaultTldrawOptions: {
  readonly actionShortcutsLocation: 'swap'
  readonly adjacentShapeMargin: 10
  readonly animationMediumMs: 320
  readonly cameraMovingTimeoutMs: 64
  readonly cameraSlideFriction: 0.09
  readonly coarseDragDistanceSquared: 36
  readonly coarseHandleRadius: 20
  readonly coarsePointerWidth: 12
  readonly collaboratorCheckIntervalMs: 1200
  readonly collaboratorIdleTimeoutMs: 3000
  readonly collaboratorInactiveTimeoutMs: 60000
  readonly createTextOnCanvasDoubleClick: true
  readonly defaultSvgPadding: 32
  readonly doubleClickDurationMs: 450
  readonly dragDistanceSquared: 16
  readonly edgeScrollDelay: 200
  readonly edgeScrollDistance: 8
  readonly edgeScrollEaseDuration: 200
  readonly edgeScrollSpeed: 25
  readonly exportProvider: import('react').ExoticComponent<{
    children?: import('react').ReactNode
  }>
  readonly flattenImageBoundsExpand: 64
  readonly flattenImageBoundsPadding: 16
  readonly followChaseViewportSnap: 2
  readonly gridSteps: readonly [
    {
      readonly mid: 0.15
      readonly min: -1
      readonly step: 64
    },
    {
      readonly mid: 0.375
      readonly min: 0.05
      readonly step: 16
    },
    {
      readonly mid: 1
      readonly min: 0.15
      readonly step: 4
    },
    {
      readonly mid: 2.5
      readonly min: 0.7
      readonly step: 1
    },
  ]
  readonly handleRadius: 12
  readonly hitTestMargin: 8
  readonly laserDelayMs: 1200
  readonly longPressDurationMs: 500
  readonly maxExportDelayMs: 5000
  readonly maxFilesAtOnce: 100
  readonly maxPages: 40
  readonly maxPointsPerDrawShape: 500
  readonly maxShapesPerPage: 4000
  readonly multiClickDurationMs: 200
  readonly temporaryAssetPreviewLifetimeMs: 180000
  readonly textShadowLod: 0.35
}
Prev
DefaultShapeIndicators
Next
defaultUserPreferences