Skip to content

Commit 4f39c0a

Browse files
committed
Add code comments
1 parent 267b6d2 commit 4f39c0a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Flow.Launcher/MainWindow.xaml.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,9 @@ private async void OnLoaded(object sender, RoutedEventArgs _)
138138
else
139139
{
140140
_viewModel.Show();
141+
// When HideOnStartup is off and UseAnimation is on,
142+
// there was a bug where the clock would not appear at all on the initial launch
143+
// So we need to forcibly trigger animation here to ensure the clock visible
141144
if (_settings.UseAnimation)
142145
{
143146
WindowAnimation();

0 commit comments

Comments
 (0)