summaryrefslogtreecommitdiff
path: root/src/managers/AnimationManager.cpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2023-01-25 15:38:21 +0000
committervaxerski <43317083+vaxerski@users.noreply.github.com>2023-01-25 15:38:21 +0000
commitfc89e70a1fb74429ad0f772d399325f69e65b357 (patch)
treed22abd8aa7fe538f8c583d9a33f06fc0f9310354 /src/managers/AnimationManager.cpp
parent8ae1fd01730ebd8382d850d1d5526fee0fb076f1 (diff)
better ls noanim handling
Diffstat (limited to 'src/managers/AnimationManager.cpp')
-rw-r--r--src/managers/AnimationManager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/managers/AnimationManager.cpp b/src/managers/AnimationManager.cpp
index a5330c1e..354d88d2 100644
--- a/src/managers/AnimationManager.cpp
+++ b/src/managers/AnimationManager.cpp
@@ -67,6 +67,7 @@ void CAnimationManager::tick() {
} else if (PLAYER) {
WLRBOXPREV = PLAYER->geometry;
PMONITOR = g_pCompositor->getMonitorFromVector(Vector2D(PLAYER->geometry.x, PLAYER->geometry.y) + Vector2D(PLAYER->geometry.width, PLAYER->geometry.height) / 2.f);
+ animationsDisabled = animationsDisabled || PLAYER->noAnimations;
}
// beziers are with a switch unforto