variable name
This commit is contained in:
parent
939b8c71a2
commit
6a5f2bdc05
@ -43,7 +43,7 @@ public class Blur
|
|||||||
WindowInfo[] windowInfos = _windowManager.WindowInfos;
|
WindowInfo[] windowInfos = _windowManager.WindowInfos;
|
||||||
IntPtr[] zOrder = _windowManager.WindowZOrder;
|
IntPtr[] zOrder = _windowManager.WindowZOrder;
|
||||||
|
|
||||||
bool maximixedWindowReached = false;
|
bool maximisedWindowReached = false;
|
||||||
|
|
||||||
foreach (IntPtr window in zOrder)
|
foreach (IntPtr window in zOrder)
|
||||||
{
|
{
|
||||||
@ -52,13 +52,13 @@ public class Blur
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
if(ShouldWindowBeBlurred(windowInfo))
|
if(ShouldWindowBeBlurred(windowInfo))
|
||||||
if(!maximixedWindowReached)
|
if(!maximisedWindowReached)
|
||||||
BlurWindow(windowInfo);
|
BlurWindow(windowInfo);
|
||||||
else if(maximixedWindowReached)
|
else if(maximisedWindowReached)
|
||||||
DeleteBlur(windowInfo);
|
DeleteBlur(windowInfo);
|
||||||
|
|
||||||
if (windowInfo.WindowCommands is ShowWindowCommands.Maximize or ShowWindowCommands.ShowMaximized)
|
if (windowInfo.WindowCommands is ShowWindowCommands.Maximize or ShowWindowCommands.ShowMaximized)
|
||||||
maximixedWindowReached = true;
|
maximisedWindowReached = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach(IntPtr blurredWindow in _windowHandleSceneItems.Keys.ToArray())
|
foreach(IntPtr blurredWindow in _windowHandleSceneItems.Keys.ToArray())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user