| Index: Source/core/animation/InterpolableValue.cpp
|
| diff --git a/Source/core/animation/InterpolableValue.cpp b/Source/core/animation/InterpolableValue.cpp
|
| index a8117c760698818c3d445aa0fa374c3a485ec456..41d4703249b248a14bf5b39f754c8edfe911487d 100644
|
| --- a/Source/core/animation/InterpolableValue.cpp
|
| +++ b/Source/core/animation/InterpolableValue.cpp
|
| @@ -19,7 +19,7 @@ void InterpolableNumber::interpolate(const InterpolableValue &to, const double p
|
| else if (progress == 1)
|
| resultNumber.m_value = toNumber.m_value;
|
| else
|
| - resultNumber.m_value = m_value * (1 - progress) + toNumber.m_value * progress;
|
| + resultNumber.m_value = m_value + (toNumber.m_value - m_value) * progress;
|
| }
|
|
|
| void InterpolableBool::interpolate(const InterpolableValue &to, const double progress, InterpolableValue& result) const
|
|
|