diff options
Diffstat (limited to 'scripts/gui-common/widgets.js')
-rw-r--r-- | scripts/gui-common/widgets.js | 1 |
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)); |