mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-03 21:51:55 -07:00
@@ -75,6 +75,9 @@ float CAnimatedVariable::getPercent() {
|
||||
}
|
||||
|
||||
float CAnimatedVariable::getCurveValue() {
|
||||
if (!m_bIsBeingAnimated)
|
||||
return 1.f;
|
||||
|
||||
const auto SPENT = getPercent();
|
||||
|
||||
if (SPENT >= 1.f)
|
||||
|
Reference in New Issue
Block a user