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