perf/feat: gate cpu behaviors on _showPanel; add reducedMotion theme setting for ambient animations
This commit is contained in:
parent
937ae5af2e
commit
c96b023fbe
4 changed files with 11 additions and 2 deletions
|
|
@ -48,7 +48,7 @@ PanelWindow {
|
|||
// Wave animation: 6s sweep + 8s pause, only while overview is open
|
||||
SequentialAnimation on uWavePhase {
|
||||
loops: Animation.Infinite
|
||||
running: M.NiriIpc.overviewOpen
|
||||
running: M.NiriIpc.overviewOpen && !M.Theme.reducedMotion
|
||||
NumberAnimation {
|
||||
from: -200
|
||||
to: fx.width + 200
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue