summaryrefslogtreecommitdiff
path: root/web/src/components/grid/index.ts
diff options
context:
space:
mode:
authorJosh Kingsley <josh@joshkingsley.me>2025-10-26 21:04:24 +0200
committerJosh Kingsley <josh@joshkingsley.me>2025-10-26 21:04:24 +0200
commitca7edbcc6b201df7b5070cde205e66f576948475 (patch)
tree8700db8148efb224375424840bf9cf8fdee3dd4e /web/src/components/grid/index.ts
parentaf8cf348feb8e6bb4bda4a277b06a0f41ff890d9 (diff)
feat(web): add subdivideSelection method
Diffstat (limited to 'web/src/components/grid/index.ts')
-rw-r--r--web/src/components/grid/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/src/components/grid/index.ts b/web/src/components/grid/index.ts
index fbb9c60..5301afb 100644
--- a/web/src/components/grid/index.ts
+++ b/web/src/components/grid/index.ts
@@ -27,7 +27,7 @@ class NotiveGridElement extends HTMLElement {
throw new Error("ntv-grid requries gridId attribute");
}
- window.addEventListener("ntv:selection-changed", () => this.draw());
+ window.addEventListener("ntv:selectionchange", () => this.draw());
this.canvasEl.addEventListener(
"mousedown",