fix: reset overview wave phase on close so mid-sweep state never shows

This commit is contained in:
Damocles 2026-04-15 17:49:59 +02:00
parent bd9e91c075
commit d55f9a0829

View file

@ -37,6 +37,14 @@ PanelWindow {
property color uC1: M.Theme.base0E
property color uC2: M.Theme.base09
Connections {
target: M.NiriIpc
function onOverviewOpenChanged() {
if (!M.NiriIpc.overviewOpen)
fx.uWavePhase = -200;
}
}
// Wave animation: 6s sweep + 8s pause, only while overview is open
SequentialAnimation on uWavePhase {
loops: Animation.Infinite