change default animation duration to 1 sec
This commit is contained in:
parent
bda0c32ac2
commit
ee5d05987f
|
@ -44,7 +44,7 @@ QPropertyAnimation *Ripple::animate(const QByteArray &property)
|
||||||
animation->setPropertyName(property);
|
animation->setPropertyName(property);
|
||||||
animation->setEasingCurve(QEasingCurve::OutCubic);
|
animation->setEasingCurve(QEasingCurve::OutCubic);
|
||||||
animation->setTargetObject(this);
|
animation->setTargetObject(this);
|
||||||
animation->setDuration(800);
|
animation->setDuration(1000);
|
||||||
_group.addAnimation(animation);
|
_group.addAnimation(animation);
|
||||||
return animation;
|
return animation;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue