From 8b20763e5e10e61b7b4f7a38bbe0d6d1ecb390f0 Mon Sep 17 00:00:00 2001 From: alex-z Date: Thu, 14 Sep 2023 18:15:59 +0200 Subject: [PATCH] Fix design review comments. Signed-off-by: alex-z --- src/gui/tray/Window.qml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/gui/tray/Window.qml b/src/gui/tray/Window.qml index 8dbc6989af157..df747559eb3b4 100644 --- a/src/gui/tray/Window.qml +++ b/src/gui/tray/Window.qml @@ -853,8 +853,8 @@ ApplicationWindow { Loader { id: newActivitiesButtonLoader - anchors.bottom: activityList.bottom - anchors.bottomMargin: 20 + anchors.top: activityList.top + anchors.topMargin: 5 width: 150 height: 40 anchors.horizontalCenter: activityList.horizontalCenter @@ -886,7 +886,7 @@ ApplicationWindow { Timer { id: disappearTimer - interval: 2500; + interval: 5000; running: newActivitiesButtonLoader.active && !newActivitiesButton.hovered; repeat: false onTriggered: newActivitiesButtonLoader.active = false; @@ -895,16 +895,16 @@ ApplicationWindow { OpacityAnimator { target: newActivitiesButton; from: 1; - to: 0; - duration: 2500 - running: disappearTimer.running + to: 0.25; + duration: 1500 + running: newActivitiesButtonLoader.active && !newActivitiesButton.hovered; } OpacityAnimator { target: newActivitiesButton; from: newActivitiesButton.opacity; to: 1; duration: 1 - running: !disappearTimer.running + running: newActivitiesButtonLoader.active && newActivitiesButton.hovered } } }