summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorCircleShift <kgunger12@gmail.com>2025-06-19 21:28:48 -0400
committerCircleShift <kgunger12@gmail.com>2025-06-19 21:28:48 -0400
commit1b8b5dac5c5e1f12c15d72d0e43ac1cbfa7cada3 (patch)
treec719e46a126ff276e980d1723331474bfe124f89 /scripts
parentc2cf6b494d1e5535f3c0a4b7ec5c742cfc95ae5f (diff)
Initial Gridlock
Diffstat (limited to 'scripts')
-rw-r--r--scripts/gui-common/widgets.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/gui-common/widgets.js b/scripts/gui-common/widgets.js
index 458aabd..829e76f 100644
--- a/scripts/gui-common/widgets.js
+++ b/scripts/gui-common/widgets.js
@@ -23,6 +23,7 @@ class Widget extends EventTarget{
super();
this.element = document.createElement("div");
this.element.classList.add("widget");
+ this.element.classList.add("gridlock");
this.element.addEventListener("mousedown", this.#emitMouseEvent.bind(this));
this.element.addEventListener("mouseup", this.#emitMouseEvent.bind(this));