Decrease button's animation duration

This commit is contained in:
Konstantinos Sideris 2017-04-11 18:54:24 +03:00
parent 193490bd9e
commit 68d0696ca4

View file

@ -335,8 +335,8 @@ void FlatButton::mousePressEvent(QMouseEvent *event)
ripple->setRadiusEndValue(radiusEndValue); ripple->setRadiusEndValue(radiusEndValue);
ripple->setOpacityStartValue(0.35); ripple->setOpacityStartValue(0.35);
ripple->setColor(foregroundColor()); ripple->setColor(foregroundColor());
ripple->radiusAnimation()->setDuration(600); ripple->radiusAnimation()->setDuration(250);
ripple->opacityAnimation()->setDuration(1300); ripple->opacityAnimation()->setDuration(400);
ripple_overlay_->addRipple(ripple); ripple_overlay_->addRipple(ripple);
} }