rethink visible flag in animmgr

This commit is contained in:
vaxerski 2023-02-14 17:41:59 +00:00
parent fdc847706a
commit 87a4cc7654
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ void CAnimationManager::tick() {
animationsDisabled = animationsDisabled || PLAYER->noAnimations;
}
const bool VISIBLE = PWINDOW ? g_pHyprRenderer->shouldRenderWindow(PWINDOW) : true;
const bool VISIBLE = PWINDOW ? g_pCompositor->isWorkspaceVisible(PWINDOW->m_iWorkspaceID) : true;
// beziers are with a switch unforto
// TODO: maybe do something cleaner