kopia lustrzana https://github.com/Tldraw/Tldraw
Update polyline.tsx
rodzic
e9d46a70e4
commit
e86cd8100d
|
@ -3,13 +3,8 @@ import * as vec from "utils/vec"
|
|||
import { PolylineShape, ShapeType } from "types"
|
||||
import { registerShapeUtils } from "./index"
|
||||
import { intersectPolylineBounds } from "utils/intersections"
|
||||
import {
|
||||
boundsCollide,
|
||||
boundsContained,
|
||||
boundsContainPolygon,
|
||||
} from "utils/bounds"
|
||||
import { boundsContainPolygon } from "utils/bounds"
|
||||
import { getBoundsFromPoints, translateBounds } from "utils/utils"
|
||||
import { colors } from "state/data"
|
||||
|
||||
const polyline = registerShapeUtils<PolylineShape>({
|
||||
boundsCache: new WeakMap([]),
|
||||
|
|
Ładowanie…
Reference in New Issue