From 09d9c6510ac227fa75962324e9f824fd0915951f Mon Sep 17 00:00:00 2001 From: Boris Yumankulov Date: Fri, 25 Jul 2025 11:13:05 +0500 Subject: [PATCH] chore: reduced duration of card opening animation Signed-off-by: Boris Yumankulov --- portprotonqt/main_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portprotonqt/main_window.py b/portprotonqt/main_window.py index aa62473..6b7ffba 100644 --- a/portprotonqt/main_window.py +++ b/portprotonqt/main_window.py @@ -1883,7 +1883,7 @@ class MainWindow(QMainWindow): opacityEffect = QGraphicsOpacityEffect(detailPage) detailPage.setGraphicsEffect(opacityEffect) animation = QPropertyAnimation(opacityEffect, QByteArray(b"opacity")) - animation.setDuration(800) + animation.setDuration(350) animation.setStartValue(0) animation.setEndValue(1) animation.start(QAbstractAnimation.DeletionPolicy.DeleteWhenStopped)