Fix quicksettings in vertical mode

#2030 #2075
This commit is contained in:
Charles Gagnon
2024-04-10 10:07:25 -04:00
parent 95755ff170
commit 866fe80705

View File

@@ -957,7 +957,10 @@ export const Panel = GObject.registerClass({
if (actor instanceof St.BoxLayout) {
actor.vertical = isVertical;
} else if ((actor._delegate || actor) instanceof PanelMenu.ButtonBox && actor != this.statusArea.appMenu) {
} else if (
actor != this.statusArea.appMenu &&
((actor._delegate || actor) instanceof PanelMenu.ButtonBox || actor == this.statusArea.quickSettings)
) {
let child = actor.get_first_child();
if (isVertical && !actor.visible && !actor._dtpVisibleId) {