Call chrome updateRegions on visible only

This commit is contained in:
Charles Gagnon
2025-04-07 12:34:42 -04:00
parent 2974ce64d9
commit b2b01c4071

View File

@@ -500,7 +500,10 @@ export const Intellihide = class {
transition: 'easeOutQuad',
onComplete: () => {
this._panelBox.visible = !destination
Main.layoutManager._queueUpdateRegions()
if (this._panelBox.visible)
Main.layoutManager._queueUpdateRegions()
update()
},
}