Skip to content

Commit

Permalink
Fix design review comments.
Browse files Browse the repository at this point in the history
Signed-off-by: alex-z <[email protected]>
  • Loading branch information
allexzander committed Sep 15, 2023
1 parent 8228a65 commit 8b20763
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/gui/tray/Window.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -886,7 +886,7 @@ ApplicationWindow {

Timer {
id: disappearTimer
interval: 2500;
interval: 5000;
running: newActivitiesButtonLoader.active && !newActivitiesButton.hovered;
repeat: false
onTriggered: newActivitiesButtonLoader.active = false;
Expand All @@ -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
}
}
}
Expand Down

0 comments on commit 8b20763

Please sign in to comment.