mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
perf: Improved pointer events related performance when the sidebar is docked with a large library open (#9086)
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
This commit is contained in:
parent
424e94a403
commit
4f64372506
3 changed files with 212 additions and 152 deletions
|
@ -7,6 +7,9 @@ import polyfill from "./packages/excalidraw/polyfill";
|
|||
import { testPolyfills } from "./packages/excalidraw/tests/helpers/polyfills";
|
||||
import { yellow } from "./packages/excalidraw/tests/helpers/colorize";
|
||||
|
||||
// mock for pep.js not working with setPointerCapture()
|
||||
HTMLElement.prototype.setPointerCapture = vi.fn();
|
||||
|
||||
Object.assign(globalThis, testPolyfills);
|
||||
|
||||
require("fake-indexeddb/auto");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue