mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-10-30 09:30:47 +03:00
Decrease button's animation duration
This commit is contained in:
parent
193490bd9e
commit
68d0696ca4
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue