Reduce animation duration
This commit is contained in:
parent
c1a4c04887
commit
d4dbe4717e
|
@ -51,7 +51,7 @@ QtMaterialSnackbarStateMachine::QtMaterialSnackbarStateMachine(QtMaterialSnackba
|
|||
|
||||
animation = new QPropertyAnimation(this, "offset", this);
|
||||
animation->setEasingCurve(QEasingCurve::OutCubic);
|
||||
animation->setDuration(400);
|
||||
animation->setDuration(300);
|
||||
addDefaultAnimation(animation);
|
||||
|
||||
hiddenState->assignProperty(this, "offset", 1);
|
||||
|
|
Loading…
Reference in New Issue