diff --git a/modules/ags/config/ts/misc/cursorbox.ts b/modules/ags/config/ts/misc/cursorbox.ts index 28ccde29..747f2e7c 100644 --- a/modules/ags/config/ts/misc/cursorbox.ts +++ b/modules/ags/config/ts/misc/cursorbox.ts @@ -155,6 +155,10 @@ export class CursorBox extends Gtk.EventBox { return this.on_scroll_down?.(this, event); } }); + + this.hook(this.#disabled, () => { + this.toggleClassName('disabled', this.#disabled.value); + }); } #display = Gdk.Display.get_default();