Skip to content

Commit 89c3cb1

Browse files
committed
Remove redundant animation
1 parent b88057c commit 89c3cb1

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

Flow.Launcher/MainWindow.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@ private void InitProgressbarAnimation()
761761
_viewModel.ProgressBarVisibility = Visibility.Hidden;
762762
}
763763

764-
public void WindowAnimation()
764+
private void WindowAnimation()
765765
{
766766
_isArrowKeyPressed = true;
767767

Flow.Launcher/ViewModel/MainViewModel.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1478,10 +1478,6 @@ await Application.Current.Dispatcher.InvokeAsync(() =>
14781478

14791479
// 📌 Restore UI elements
14801480
//mainWindow.SearchIcon.Visibility = Visibility.Visible;
1481-
if (Settings.UseAnimation)
1482-
{
1483-
mainWindow.WindowAnimation();
1484-
}
14851481
}
14861482
}, DispatcherPriority.Render);
14871483

0 commit comments

Comments
 (0)