mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-06 07:01:57 -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)) {
|
if (!deltazero(av->m_fValue, av->m_fGoal)) {
|
||||||
|
|
||||||
// for disabled anims just warp
|
// for disabled anims just warp
|
||||||
if (av->m_pEnabled == 0 || animationsDisabled) {
|
if (*av->m_pEnabled == 0 || animationsDisabled) {
|
||||||
av->warp();
|
av->warp();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -92,7 +92,7 @@ void CAnimationManager::tick() {
|
|||||||
if (!deltazero(av->m_vValue, av->m_vGoal)) {
|
if (!deltazero(av->m_vValue, av->m_vGoal)) {
|
||||||
|
|
||||||
// for disabled anims just warp
|
// for disabled anims just warp
|
||||||
if (av->m_pEnabled == 0 || animationsDisabled) {
|
if (*av->m_pEnabled == 0 || animationsDisabled) {
|
||||||
av->warp();
|
av->warp();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -117,7 +117,7 @@ void CAnimationManager::tick() {
|
|||||||
if (!deltazero(av->m_cValue, av->m_cGoal)) {
|
if (!deltazero(av->m_cValue, av->m_cGoal)) {
|
||||||
|
|
||||||
// for disabled anims just warp
|
// for disabled anims just warp
|
||||||
if (av->m_pEnabled == 0 || animationsDisabled) {
|
if (*av->m_pEnabled == 0 || animationsDisabled) {
|
||||||
av->warp();
|
av->warp();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user