Skip to content

Commit

Permalink
animation: call update callback when warping vars
Browse files Browse the repository at this point in the history
  • Loading branch information
PaideiaDilemma committed Jan 11, 2025
1 parent db5557e commit 1507865
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/hyprutils/animation/AnimatedVariable.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,10 @@ namespace Hyprutils {

m_Value = m_Goal;

m_bIsBeingAnimated = false;

onUpdate();

m_bIsBeingAnimated = false;

if (endCallback)
onAnimationEnd();
}
Expand Down

0 comments on commit 1507865

Please sign in to comment.