Don't ignore empty desktop button

This commit is contained in:
Charles Gagnon
2025-02-25 21:23:49 -05:00
parent 923e5dce7f
commit 78161622af

View File

@@ -538,7 +538,9 @@ export const Panel = GObject.registerClass(
if (allocationMap.actor) {
let considerActor =
pos.visible && allocationMap.actor.get_children().length
pos.visible &&
(pos.element == Pos.DESKTOP_BTN ||
allocationMap.actor.get_children().length)
allocationMap.actor.visible = considerActor