- Revert blinking fix

- Remove win10 code
This commit is contained in:
DB p 2025-03-09 08:40:13 +09:00
parent c63bb21554
commit 1345470683
2 changed files with 1 additions and 17 deletions

View file

@ -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
/// </summary>
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;

View file

@ -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)
{
// 📌 최초 실행 시 창이 깜빡이는 문제 방지 (완전히 숨긴 상태로 시작)