chore: reduced duration of card opening animation
Signed-off-by: Boris Yumankulov <boria138@altlinux.org>
This commit is contained in:
@ -1883,7 +1883,7 @@ class MainWindow(QMainWindow):
|
|||||||
opacityEffect = QGraphicsOpacityEffect(detailPage)
|
opacityEffect = QGraphicsOpacityEffect(detailPage)
|
||||||
detailPage.setGraphicsEffect(opacityEffect)
|
detailPage.setGraphicsEffect(opacityEffect)
|
||||||
animation = QPropertyAnimation(opacityEffect, QByteArray(b"opacity"))
|
animation = QPropertyAnimation(opacityEffect, QByteArray(b"opacity"))
|
||||||
animation.setDuration(800)
|
animation.setDuration(350)
|
||||||
animation.setStartValue(0)
|
animation.setStartValue(0)
|
||||||
animation.setEndValue(1)
|
animation.setEndValue(1)
|
||||||
animation.start(QAbstractAnimation.DeletionPolicy.DeleteWhenStopped)
|
animation.start(QAbstractAnimation.DeletionPolicy.DeleteWhenStopped)
|
||||||
|
Reference in New Issue
Block a user