Reduce animation duration

This commit is contained in:
Johannes Hilden 2017-11-02 22:12:41 +03:00
parent c1a4c04887
commit d4dbe4717e
1 changed files with 1 additions and 1 deletions

View File

@ -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);