fix: scrollable widget vscroll

This commit is contained in:
Aylur
2023-10-25 19:25:10 +02:00
parent 1229e8847f
commit e98c6446e6
+1 -1
View File
@@ -67,7 +67,7 @@ export default class AgsScrollable extends Gtk.ScrolledWindow {
const vscroll = policy.findIndex(p => p === this.vscroll);
this.set_policy(
hscroll === -1 ? Gtk.PolicyType.AUTOMATIC : hscroll,
vscroll === -1 ? Gtk.PolicyType.AUTOMATIC : hscroll,
vscroll === -1 ? Gtk.PolicyType.AUTOMATIC : vscroll,
);
}
}