mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-07-28 02:31:54 -07:00
fix disabling in animationmanager
This commit is contained in:
@@ -67,7 +67,7 @@ void CAnimationManager::tick() {
|
||||
if (!deltazero(av->m_fValue, av->m_fGoal)) {
|
||||
|
||||
// for disabled anims just warp
|
||||
if (av->m_pEnabled == 0 || animationsDisabled) {
|
||||
if (*av->m_pEnabled == 0 || animationsDisabled) {
|
||||
av->warp();
|
||||
break;
|
||||
}
|
||||
@@ -92,7 +92,7 @@ void CAnimationManager::tick() {
|
||||
if (!deltazero(av->m_vValue, av->m_vGoal)) {
|
||||
|
||||
// for disabled anims just warp
|
||||
if (av->m_pEnabled == 0 || animationsDisabled) {
|
||||
if (*av->m_pEnabled == 0 || animationsDisabled) {
|
||||
av->warp();
|
||||
break;
|
||||
}
|
||||
@@ -117,7 +117,7 @@ void CAnimationManager::tick() {
|
||||
if (!deltazero(av->m_cValue, av->m_cGoal)) {
|
||||
|
||||
// for disabled anims just warp
|
||||
if (av->m_pEnabled == 0 || animationsDisabled) {
|
||||
if (*av->m_pEnabled == 0 || animationsDisabled) {
|
||||
av->warp();
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user