Skip to content

Commit 1345470

Browse files
committed
- Revert blinking fix
- Remove win10 code
1 parent c63bb21 commit 1345470

File tree

2 files changed

+1
-17
lines changed

2 files changed

+1
-17
lines changed

Flow.Launcher.Core/Resource/Theme.cs

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -140,13 +140,6 @@ public void RefreshFrame()
140140
if (mainWindowSrc == null)
141141
return;
142142

143-
// Check Windows version and disable BlurEnabled if Mica is not supported
144-
bool isWindows11OrHigher = Environment.OSVersion.Version.Build >= 22000;
145-
if (!isWindows11OrHigher)
146-
{
147-
BlurEnabled = false;
148-
}
149-
150143
ParameterTypes.MARGINS margins = new ParameterTypes.MARGINS();
151144
margins.cxLeftWidth = -1;
152145
margins.cxRightWidth = -1;
@@ -247,15 +240,6 @@ public void SetCornerForWindow()
247240
/// </summary>
248241
public void SetBlurForWindow()
249242
{
250-
// Check Windows version (Windows 11 or higher)
251-
bool isWindows11OrHigher = Environment.OSVersion.Version.Build >= 22000;
252-
253-
// If Mica is not supported, force disable BlurEnabled
254-
if (!isWindows11OrHigher)
255-
{
256-
BlurEnabled = false;
257-
}
258-
259243
var dict = GetThemeResourceDictionary(_settings.Theme);
260244
if (dict == null)
261245
return;

Flow.Launcher/MainWindow.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,7 @@ private void OnLocationChanged(object sender, EventArgs e)
815815
public void HideStartup()
816816
{
817817
UpdatePosition();
818-
_viewModel.MainWindowOpacity = 0.2; /*Fix Render Blinking */
818+
//_viewModel.MainWindowOpacity = 0.2; /*Fix Render Blinking */
819819
if (_settings.HideOnStartup)
820820
{
821821
// 📌 최초 실행 시 창이 깜빡이는 문제 방지 (완전히 숨긴 상태로 시작)

0 commit comments

Comments
 (0)