Steve Ruiz 4 лет назад
Родитель
Сommit
e86cd8100d
1 измененных файлов: 1 добавлений и 6 удалений
  1. 1
    6
      lib/shape-utils/polyline.tsx

+ 1
- 6
lib/shape-utils/polyline.tsx Просмотреть файл

@@ -3,13 +3,8 @@ import * as vec from "utils/vec"
3 3
 import { PolylineShape, ShapeType } from "types"
4 4
 import { registerShapeUtils } from "./index"
5 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 7
 import { getBoundsFromPoints, translateBounds } from "utils/utils"
12
-import { colors } from "state/data"
13 8
 
14 9
 const polyline = registerShapeUtils<PolylineShape>({
15 10
   boundsCache: new WeakMap([]),

Загрузка…
Отмена
Сохранить