fix: reset overview wave phase on close so mid-sweep state never shows
This commit is contained in:
parent
bd9e91c075
commit
d55f9a0829
1 changed files with 8 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue