diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-04-11 18:54:24 +0300 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-04-11 18:54:24 +0300 |
commit | 68d0696ca4ff30253cd891992717c470d1a5ca3e (patch) | |
tree | 2f8c919e5ebb87ea30059dd6c10f51411294de5e | |
parent | Remove halo animation (diff) | |
download | nheko-68d0696ca4ff30253cd891992717c470d1a5ca3e.tar.xz |
Decrease button's animation duration
-rw-r--r-- | src/ui/FlatButton.cc | 4 |
1 files 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); } |