variable name

This commit is contained in:
glax 2024-04-16 21:22:58 +02:00
parent 939b8c71a2
commit 6a5f2bdc05

View File

@ -43,7 +43,7 @@ public class Blur
WindowInfo[] windowInfos = _windowManager.WindowInfos;
IntPtr[] zOrder = _windowManager.WindowZOrder;
bool maximixedWindowReached = false;
bool maximisedWindowReached = false;
foreach (IntPtr window in zOrder)
{
@ -52,13 +52,13 @@ public class Blur
continue;
if(ShouldWindowBeBlurred(windowInfo))
if(!maximixedWindowReached)
if(!maximisedWindowReached)
BlurWindow(windowInfo);
else if(maximixedWindowReached)
else if(maximisedWindowReached)
DeleteBlur(windowInfo);
if (windowInfo.WindowCommands is ShowWindowCommands.Maximize or ShowWindowCommands.ShowMaximized)
maximixedWindowReached = true;
maximisedWindowReached = true;
}
foreach(IntPtr blurredWindow in _windowHandleSceneItems.Keys.ToArray())