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:
Florian Müllner
2023-11-15 14:54:18 +01:00
committed by Marge Bot
parent a190a0830b
commit eb8861e9b8
10 changed files with 0 additions and 13 deletions

View File

@ -164,7 +164,6 @@ const Notebook = GObject.registerClass({
const scrollview = new St.ScrollView({
child,
hscrollbar_policy: St.PolicyType.NEVER,
y_expand: true,
});
@ -390,7 +389,6 @@ class ObjInspector extends St.ScrollView {
_init(lookingGlass) {
super._init({
pivot_point: new Graphene.Point({x: 0.5, y: 0.5}),
hscrollbar_policy: St.PolicyType.NEVER,
});
this._obj = null;