appDisplay: Properly hide overlay scrollbar in folders
Use the scroll-view policy ST_POLICY_EXTERNAL to hide the scrollbar instead of setting its css properties to hidden, where it can still be clicked but isn't visible. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1011
This commit is contained in:

committed by
Florian Müllner

parent
4490463513
commit
711d4ba65c
@ -1308,7 +1308,7 @@ class FolderView extends BaseAppView {
|
||||
x_expand: true,
|
||||
y_expand: true,
|
||||
});
|
||||
this._scrollView.set_policy(St.PolicyType.NEVER, St.PolicyType.AUTOMATIC);
|
||||
this._scrollView.set_policy(St.PolicyType.NEVER, St.PolicyType.EXTERNAL);
|
||||
this.add_actor(this._scrollView);
|
||||
|
||||
let scrollableContainer = new St.BoxLayout({
|
||||
|
Reference in New Issue
Block a user