Skip to content

Commit

Permalink
Reduce animation duration
Browse files Browse the repository at this point in the history
  • Loading branch information
laserpants committed Nov 2, 2017
1 parent c1a4c04 commit d4dbe47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/qtmaterialsnackbar_internal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d4dbe47

Please sign in to comment.