js: Rely on default scroll policy where appropriate
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3020>
This commit is contained in:

committed by
Marge Bot

parent
a190a0830b
commit
eb8861e9b8
@ -1014,7 +1014,6 @@ export class PopupSubMenu extends PopupMenuBase {
|
||||
// effect if a CSS max-height is set on the top menu.
|
||||
this.actor = new St.ScrollView({
|
||||
style_class: 'popup-sub-menu',
|
||||
hscrollbar_policy: St.PolicyType.NEVER,
|
||||
vscrollbar_policy: St.PolicyType.NEVER,
|
||||
child: this.box,
|
||||
});
|
||||
|
Reference in New Issue
Block a user