better ls noanim handling

This commit is contained in:
vaxerski
2023-01-25 15:38:21 +00:00
parent 8ae1fd0173
commit fc89e70a1f
2 changed files with 1 additions and 6 deletions

View File

@@ -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