Peng Xiao пре 3 година
родитељ
комит
f487c5817c
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      tldraw/packages/core/src/lib/tools/TLDotTool/states/IdleState.tsx

+ 2 - 2
tldraw/packages/core/src/lib/tools/TLDotTool/states/IdleState.tsx

@@ -1,10 +1,10 @@
-import { TLDotShape, TLApp, TLShape, TLToolState } from '~lib'
+import { TLBoxShape, TLApp, TLShape, TLToolState } from '~lib'
 import type { TLEventMap, TLStateEvents } from '~types'
 import type { TLEventMap, TLStateEvents } from '~types'
 import type { TLDotTool } from '../TLDotTool'
 import type { TLDotTool } from '../TLDotTool'
 
 
 export class IdleState<
 export class IdleState<
   S extends TLShape,
   S extends TLShape,
-  T extends S & TLDotShape,
+  T extends S & TLBoxShape,
   K extends TLEventMap,
   K extends TLEventMap,
   R extends TLApp<S, K>,
   R extends TLApp<S, K>,
   P extends TLDotTool<T, S, K, R>
   P extends TLDotTool<T, S, K, R>