mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Cleaup Code
This commit is contained in:
parent
b9f013e58b
commit
6e2c56b1a9
1 changed files with 0 additions and 6 deletions
|
|
@ -1473,7 +1473,6 @@ namespace Flow.Launcher.ViewModel
|
|||
{
|
||||
Application.Current.Dispatcher.BeginInvoke(() =>
|
||||
mainWindow.WindowAnimation());
|
||||
Debug.WriteLine("Call Animation");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1540,10 +1539,6 @@ namespace Flow.Launcher.ViewModel
|
|||
if (Application.Current.MainWindow is MainWindow mainWindow)
|
||||
{
|
||||
// 📌 Set Opacity of icon and clock to 0 and apply Visibility.Hidden
|
||||
Application.Current.Dispatcher.Invoke(() =>
|
||||
{
|
||||
|
||||
}, DispatcherPriority.Render);
|
||||
if(Settings.UseAnimation)
|
||||
{
|
||||
mainWindow.ClockPanel.Opacity = 0;
|
||||
|
|
@ -1555,7 +1550,6 @@ namespace Flow.Launcher.ViewModel
|
|||
mainWindow.SearchIcon.Opacity = 1;
|
||||
}
|
||||
mainWindow.ClockPanel.Visibility = Visibility.Hidden;
|
||||
//mainWindow.SearchIcon.Visibility = Visibility.Hidden;
|
||||
SearchIconVisibility = Visibility.Hidden;
|
||||
|
||||
// Force UI update
|
||||
|
|
|
|||
Loading…
Reference in a new issue