feat: gate overview wave animation on OverviewOpenedOrClosed niri event
This commit is contained in:
parent
d7ca7e405f
commit
bd9e91c075
2 changed files with 5 additions and 2 deletions
|
|
@ -37,10 +37,10 @@ PanelWindow {
|
|||
property color uC1: M.Theme.base0E
|
||||
property color uC2: M.Theme.base09
|
||||
|
||||
// Wave animation: 6s sweep + 8s pause
|
||||
// Wave animation: 6s sweep + 8s pause, only while overview is open
|
||||
SequentialAnimation on uWavePhase {
|
||||
loops: Animation.Infinite
|
||||
running: true
|
||||
running: M.NiriIpc.overviewOpen
|
||||
NumberAnimation {
|
||||
from: -200
|
||||
to: fx.width + 200
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue