effects/slide: Increase spring constant

We've got complaints that the animation is too slow.

BUG: 455450
This commit is contained in:
Vlad Zahorodnii 2022-09-28 15:41:04 +00:00
parent b4cd4f645e
commit 4c07daec3f

View file

@ -59,7 +59,7 @@ void SlideEffect::reconfigure(ReconfigureFlags)
{
SlideConfig::self()->read();
const qreal springConstant = 200.0 / effects->animationTimeFactor();
const qreal springConstant = 300.0 / effects->animationTimeFactor();
const qreal dampingRatio = 1.1;
m_motionX = SpringMotion(springConstant, dampingRatio);