overviewControls: Remove intermediate box
Now that the workspace switcher moved into the view selector, the box only holds a single child. Cut out the middle man and add that directly to the parent. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1609>
This commit is contained in:
@ -85,13 +85,7 @@ class ControlsManager extends St.Widget {
|
||||
});
|
||||
this.add_actor(this._group);
|
||||
|
||||
const box = new St.BoxLayout({
|
||||
x_expand: true,
|
||||
y_expand: true,
|
||||
});
|
||||
box.add_child(this.viewSelector);
|
||||
|
||||
this._group.add_child(box);
|
||||
this._group.add_child(this.viewSelector);
|
||||
this._group.add_actor(this._dashFader);
|
||||
|
||||
this.connect('destroy', this._onDestroy.bind(this));
|
||||
|
Reference in New Issue
Block a user