Skip to content

Commit

Permalink
Design reveiw comment. Button fadeout.
Browse files Browse the repository at this point in the history
Signed-off-by: alex-z <[email protected]>
  • Loading branch information
allexzander committed Sep 19, 2023
1 parent 9bd04eb commit 59a0839
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/gui/tray/Window.qml
Original file line number Diff line number Diff line change
Expand Up @@ -893,7 +893,18 @@ ApplicationWindow {
interval: 5000;
running: newActivitiesButtonLoader.active && !newActivitiesButton.hovered;
repeat: false
onTriggered: newActivitiesButtonLoader.active = false;
onTriggered: fadeoutDisappearTimer.running = true
}

OpacityAnimator {
id: fadeoutDisappearTimer
target: newActivitiesButton;
from: 1;
to: 0;
duration: 250
loops: 1
running: false
onFinished: newActivitiesButtonLoader.active = false;
}
}
}
Expand Down

0 comments on commit 59a0839

Please sign in to comment.