From b8748d642e384b56fc060e708472df0cfd9a86a4 Mon Sep 17 00:00:00 2001 From: DB p Date: Sat, 8 Mar 2025 18:41:30 +0900 Subject: [PATCH] Fix Render Blink --- Flow.Launcher/MainWindow.xaml.cs | 3 ++- Flow.Launcher/ViewModel/MainViewModel.cs | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Flow.Launcher/MainWindow.xaml.cs b/Flow.Launcher/MainWindow.xaml.cs index 75c851ab3..8a88a3065 100644 --- a/Flow.Launcher/MainWindow.xaml.cs +++ b/Flow.Launcher/MainWindow.xaml.cs @@ -815,7 +815,7 @@ namespace Flow.Launcher public void HideStartup() { UpdatePosition(); - + _viewModel.MainWindowOpacity = 0.2; /*Fix Render Blinking */ if (_settings.HideOnStartup) { // πŸ“Œ 졜초 μ‹€ν–‰ μ‹œ 창이 κΉœλΉ‘μ΄λŠ” 문제 λ°©μ§€ (μ™„μ „νžˆ 숨긴 μƒνƒœλ‘œ μ‹œμž‘) @@ -834,6 +834,7 @@ namespace Flow.Launcher //ThemeManager.Instance.SetBlurForWindow(); //ThemeManager.Instance.AutoDropShadow(); _viewModel.Show(); + //_viewModel.MainWindowOpacity = 1; } } diff --git a/Flow.Launcher/ViewModel/MainViewModel.cs b/Flow.Launcher/ViewModel/MainViewModel.cs index 6b225ae06..a24d76af4 100644 --- a/Flow.Launcher/ViewModel/MainViewModel.cs +++ b/Flow.Launcher/ViewModel/MainViewModel.cs @@ -1412,6 +1412,7 @@ namespace Flow.Launcher.ViewModel // WPF 속성 μ—…λ°μ΄νŠΈ MainWindowVisibility = Visibility.Visible; + MainWindowOpacity = 1; MainWindowVisibilityStatus = true; VisibilityChanged?.Invoke(this, new VisibilityChangedEventArgs { IsVisible = true }); });