diff options
| author | phanium <91544758+phanen@users.noreply.github.com> | 2026-04-30 19:53:51 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-30 12:53:51 +0100 |
| commit | d40860e8e27c2abc50cebaae56e16b4ac10af667 (patch) | |
| tree | 96409a57dada6c94878134640e6ee7fe40b242ba /src | |
| parent | 2ff598896d3334cb44331463e845128cae4815f1 (diff) | |
config/lua: cannot disable animation (#14215)
* config/lua: cannot disable animation
seems regression from 9ee5ff1f7181cc5fa575f1702802ccb78c21ba12
* typing typo (auto generated by cmake)
Diffstat (limited to 'src')
| -rw-r--r-- | src/managers/animation/AnimationManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/managers/animation/AnimationManager.cpp b/src/managers/animation/AnimationManager.cpp index c5c3ca54..76a12465 100644 --- a/src/managers/animation/AnimationManager.cpp +++ b/src/managers/animation/AnimationManager.cpp @@ -142,9 +142,9 @@ static void handleUpdate(CAnimatedVariable<VarType>& av, bool warp) { const auto STEP = av.getCurveStep(); if constexpr (std::same_as<VarType, CHyprColor>) - updateColorVariable(av, STEP.value, STEP.finished); + updateColorVariable(av, STEP.value, STEP.finished || animationsDisabled); else - updateVariable<VarType>(av, STEP.value, STEP.finished); + updateVariable<VarType>(av, STEP.value, STEP.finished || animationsDisabled); av.onUpdate(); } |
