From 68d0696ca4ff30253cd891992717c470d1a5ca3e Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Tue, 11 Apr 2017 18:54:24 +0300 Subject: [PATCH] Decrease button's animation duration --- src/ui/FlatButton.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/FlatButton.cc b/src/ui/FlatButton.cc index 0a4aaa32..de0bf106 100644 --- a/src/ui/FlatButton.cc +++ b/src/ui/FlatButton.cc @@ -335,8 +335,8 @@ void FlatButton::mousePressEvent(QMouseEvent *event) ripple->setRadiusEndValue(radiusEndValue); ripple->setOpacityStartValue(0.35); ripple->setColor(foregroundColor()); - ripple->radiusAnimation()->setDuration(600); - ripple->opacityAnimation()->setDuration(1300); + ripple->radiusAnimation()->setDuration(250); + ripple->opacityAnimation()->setDuration(400); ripple_overlay_->addRipple(ripple); }