summaryrefslogtreecommitdiff
path: root/src/managers/animation/AnimationManager.cpp
diff options
context:
space:
mode:
authorMaximilian Seidler <78690852+PaideiaDilemma@users.noreply.github.com>2025-12-14 19:46:49 +0000
committerGitHub <noreply@github.com>2025-12-14 19:46:49 +0000
commit7ccc57eb7cacded5e7a8835b705bba48963d3cb3 (patch)
tree0bc87ed7beeeb19039bd3a40bf1c3febc36c851b /src/managers/animation/AnimationManager.cpp
parente4a8f2b14f789075612bfd26e8153039c8f295f2 (diff)
animation: migrate PHLANIMVAR from SP to UP (#12486)
Diffstat (limited to 'src/managers/animation/AnimationManager.cpp')
-rw-r--r--src/managers/animation/AnimationManager.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/managers/animation/AnimationManager.cpp b/src/managers/animation/AnimationManager.cpp
index a09f391b..b4255a33 100644
--- a/src/managers/animation/AnimationManager.cpp
+++ b/src/managers/animation/AnimationManager.cpp
@@ -209,8 +209,7 @@ void CHyprAnimationManager::tick() {
static auto PANIMENABLED = CConfigValue<Hyprlang::INT>("animations:enabled");
- for (size_t i = 0; i < m_vActiveAnimatedVariables.size(); i++) {
- const auto PAV = m_vActiveAnimatedVariables[i].lock();
+ for (const auto& PAV : m_vActiveAnimatedVariables) {
if (!PAV)
continue;