From d4dbe4717ea268380f5777401613a57e22f4ed49 Mon Sep 17 00:00:00 2001 From: Johannes Hilden Date: Thu, 2 Nov 2017 22:12:41 +0300 Subject: [PATCH] Reduce animation duration --- components/qtmaterialsnackbar_internal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/qtmaterialsnackbar_internal.cpp b/components/qtmaterialsnackbar_internal.cpp index a304f1a..9e6167d 100644 --- a/components/qtmaterialsnackbar_internal.cpp +++ b/components/qtmaterialsnackbar_internal.cpp @@ -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);