From fc89e70a1fb74429ad0f772d399325f69e65b357 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Wed, 25 Jan 2023 15:38:21 +0000 Subject: better ls noanim handling --- src/managers/AnimationManager.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/managers/AnimationManager.cpp') 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 -- cgit v1.2.3