Decrease button's animation duration

remotes/origin/HEAD
Konstantinos Sideris 8 years ago
parent 193490bd9e
commit 68d0696ca4
  1. 4
      src/ui/FlatButton.cc

@ -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);
} }

Loading…
Cancel
Save