mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
perf: make eraser great again (#9352)
* perf: make eraser great again * lint * refactor and improve perf * lint
This commit is contained in:
parent
6fe7de8020
commit
58f7d33d80
5 changed files with 259 additions and 120 deletions
|
@ -19,6 +19,7 @@ import {
|
|||
type LocalPoint,
|
||||
pointFrom,
|
||||
type Radians,
|
||||
type ElementsSegmentsMap,
|
||||
} from "@excalidraw/math";
|
||||
|
||||
import { getElementLineSegments } from "@excalidraw/element/bounds";
|
||||
|
@ -33,8 +34,6 @@ import { getLassoSelectedElementIds } from "../lasso/utils";
|
|||
|
||||
import { act, render } from "./test-utils";
|
||||
|
||||
import type { ElementsSegmentsMap } from "../lasso/utils";
|
||||
|
||||
const { h } = window;
|
||||
|
||||
beforeEach(async () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue