From 13454706836b9f4b468b4d6ce4cdb313a4570da0 Mon Sep 17 00:00:00 2001 From: DB p Date: Sun, 9 Mar 2025 08:40:13 +0900 Subject: [PATCH] - Revert blinking fix - Remove win10 code --- Flow.Launcher.Core/Resource/Theme.cs | 16 ---------------- Flow.Launcher/MainWindow.xaml.cs | 2 +- 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/Flow.Launcher.Core/Resource/Theme.cs b/Flow.Launcher.Core/Resource/Theme.cs index 9a9e7c39a..64dfe7567 100644 --- a/Flow.Launcher.Core/Resource/Theme.cs +++ b/Flow.Launcher.Core/Resource/Theme.cs @@ -140,13 +140,6 @@ namespace Flow.Launcher.Core.Resource if (mainWindowSrc == null) return; - // Check Windows version and disable BlurEnabled if Mica is not supported - bool isWindows11OrHigher = Environment.OSVersion.Version.Build >= 22000; - if (!isWindows11OrHigher) - { - BlurEnabled = false; - } - ParameterTypes.MARGINS margins = new ParameterTypes.MARGINS(); margins.cxLeftWidth = -1; margins.cxRightWidth = -1; @@ -247,15 +240,6 @@ namespace Flow.Launcher.Core.Resource /// public void SetBlurForWindow() { - // Check Windows version (Windows 11 or higher) - bool isWindows11OrHigher = Environment.OSVersion.Version.Build >= 22000; - - // If Mica is not supported, force disable BlurEnabled - if (!isWindows11OrHigher) - { - BlurEnabled = false; - } - var dict = GetThemeResourceDictionary(_settings.Theme); if (dict == null) return; diff --git a/Flow.Launcher/MainWindow.xaml.cs b/Flow.Launcher/MainWindow.xaml.cs index 8a88a3065..37f8e6262 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 */ + //_viewModel.MainWindowOpacity = 0.2; /*Fix Render Blinking */ if (_settings.HideOnStartup) { // πŸ“Œ 졜초 μ‹€ν–‰ μ‹œ 창이 κΉœλΉ‘μ΄λŠ” 문제 λ°©μ§€ (μ™„μ „νžˆ 숨긴 μƒνƒœλ‘œ μ‹œμž‘)