fix(ags): add disabled class on cursorbox
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-02-18 13:08:50 -05:00
parent 381e0c3570
commit 500f3b921a

View file

@ -155,6 +155,10 @@ export class CursorBox<Child extends Gtk.Widget, Attr> 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();