mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
- Revert blinking fix
- Remove win10 code
This commit is contained in:
parent
c63bb21554
commit
1345470683
2 changed files with 1 additions and 17 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
// 📌 최초 실행 시 창이 깜빡이는 문제 방지 (완전히 숨긴 상태로 시작)
|
||||
|
|
|
|||
Loading…
Reference in a new issue