diff --git a/include/hyprutils/animation/AnimatedVariable.hpp b/include/hyprutils/animation/AnimatedVariable.hpp index 0d57529..346a733 100644 --- a/include/hyprutils/animation/AnimatedVariable.hpp +++ b/include/hyprutils/animation/AnimatedVariable.hpp @@ -148,10 +148,10 @@ namespace Hyprutils { m_Value = m_Goal; - m_bIsBeingAnimated = false; - onUpdate(); + m_bIsBeingAnimated = false; + if (endCallback) onAnimationEnd(); }