Browse Source

Update polyline.tsx

main
Steve Ruiz 4 years ago
parent
commit
e86cd8100d
1 changed files with 1 additions and 6 deletions
  1. 1
    6
      lib/shape-utils/polyline.tsx

+ 1
- 6
lib/shape-utils/polyline.tsx View File

3
 import { PolylineShape, ShapeType } from "types"
3
 import { PolylineShape, ShapeType } from "types"
4
 import { registerShapeUtils } from "./index"
4
 import { registerShapeUtils } from "./index"
5
 import { intersectPolylineBounds } from "utils/intersections"
5
 import { intersectPolylineBounds } from "utils/intersections"
6
-import {
7
-  boundsCollide,
8
-  boundsContained,
9
-  boundsContainPolygon,
10
-} from "utils/bounds"
6
+import { boundsContainPolygon } from "utils/bounds"
11
 import { getBoundsFromPoints, translateBounds } from "utils/utils"
7
 import { getBoundsFromPoints, translateBounds } from "utils/utils"
12
-import { colors } from "state/data"
13
 
8
 
14
 const polyline = registerShapeUtils<PolylineShape>({
9
 const polyline = registerShapeUtils<PolylineShape>({
15
   boundsCache: new WeakMap([]),
10
   boundsCache: new WeakMap([]),

Loading…
Cancel
Save