File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -1473,7 +1473,6 @@ public void Show()
1473
1473
{
1474
1474
Application . Current . Dispatcher . BeginInvoke ( ( ) =>
1475
1475
mainWindow . WindowAnimation ( ) ) ;
1476
- Debug . WriteLine ( "Call Animation" ) ;
1477
1476
}
1478
1477
}
1479
1478
@@ -1540,10 +1539,6 @@ public async void Hide()
1540
1539
if ( Application . Current . MainWindow is MainWindow mainWindow )
1541
1540
{
1542
1541
// 📌 Set Opacity of icon and clock to 0 and apply Visibility.Hidden
1543
- Application . Current . Dispatcher . Invoke ( ( ) =>
1544
- {
1545
-
1546
- } , DispatcherPriority . Render ) ;
1547
1542
if ( Settings . UseAnimation )
1548
1543
{
1549
1544
mainWindow . ClockPanel . Opacity = 0 ;
@@ -1555,7 +1550,6 @@ public async void Hide()
1555
1550
mainWindow . SearchIcon . Opacity = 1 ;
1556
1551
}
1557
1552
mainWindow . ClockPanel . Visibility = Visibility . Hidden ;
1558
- //mainWindow.SearchIcon.Visibility = Visibility.Hidden;
1559
1553
SearchIconVisibility = Visibility . Hidden ;
1560
1554
1561
1555
// Force UI update
You can’t perform that action at this time.
0 commit comments