aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Frontend/GraphicsSubsystem
diff options
context:
space:
mode:
Diffstat (limited to 'ShiftOS.Frontend/GraphicsSubsystem')
-rw-r--r--ShiftOS.Frontend/GraphicsSubsystem/UIManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ShiftOS.Frontend/GraphicsSubsystem/UIManager.cs b/ShiftOS.Frontend/GraphicsSubsystem/UIManager.cs
index a688757..705fc5d 100644
--- a/ShiftOS.Frontend/GraphicsSubsystem/UIManager.cs
+++ b/ShiftOS.Frontend/GraphicsSubsystem/UIManager.cs
@@ -78,7 +78,7 @@ namespace ShiftOS.Frontend.GraphicsSubsystem
public static void ProcessMouseState(MouseState state)
{
- foreach(var ctrl in topLevels)
+ foreach(var ctrl in topLevels.ToArray())
{
ctrl.ProcessMouseState(state);
}