mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +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->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…
Reference in a new issue