mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-15 00:34:05 +09:00
Don't ignore empty desktop button
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user