From 476b8566de057166d3a0dc2b00a102988d193247 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Thu, 2 Jul 2026 13:59:18 +0200 Subject: [PATCH] animation/variable: revert "set begun on operator= always" breaks some hyprland animations when beziers are used. --- include/hyprutils/animation/AnimatedVariable.hpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/hyprutils/animation/AnimatedVariable.hpp b/include/hyprutils/animation/AnimatedVariable.hpp index 30cf361..c72044d 100644 --- a/include/hyprutils/animation/AnimatedVariable.hpp +++ b/include/hyprutils/animation/AnimatedVariable.hpp @@ -224,10 +224,8 @@ namespace Hyprutils { } CGenericAnimatedVariable& operator=(const VarType& v) { - if (v == m_Goal) { - m_Begun = v; + if (v == m_Goal) return *this; - } const bool WASANIMATING = m_bIsBeingAnimated; float SPRINGVELOCITYSCALE = 1.f;