fix(ags): add disabled class on cursorbox
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
381e0c3570
commit
500f3b921a
1 changed files with 4 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue