variable name
This commit is contained in:
parent
939b8c71a2
commit
6a5f2bdc05
@ -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())
|
||||
|
Loading…
x
Reference in New Issue
Block a user