diff options
Diffstat (limited to 'ShiftOS.Frontend/GraphicsSubsystem/UIManager.cs')
| -rw-r--r-- | ShiftOS.Frontend/GraphicsSubsystem/UIManager.cs | 2 |
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); } |
