From 0fc3fe683e6452671271be7fc4557d93bd95b0c0 Mon Sep 17 00:00:00 2001 From: laserpants Date: Fri, 10 Jun 2016 14:33:17 +0300 Subject: [PATCH] draw slider thumb as outline when disabled and value is min. --- components/flatbutton_internal.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/flatbutton_internal.cpp b/components/flatbutton_internal.cpp index da947b2..6357e5e 100644 --- a/components/flatbutton_internal.cpp +++ b/components/flatbutton_internal.cpp @@ -205,11 +205,11 @@ void FlatButtonDelegate::addTransition(QAbstractTransition *transition, QPropertyAnimation *animation; animation = new QPropertyAnimation(this, "backgroundOpacity"); - animation->setDuration(200); + animation->setDuration(150); transition->addAnimation(animation); animation = new QPropertyAnimation(this, "backgroundColor"); - animation->setDuration(200); + animation->setDuration(150); transition->addAnimation(animation); animation = new QPropertyAnimation(this, "haloOpacity");