From 68362b4c6fe2e740ac02f7b4cb1ae77de3cfbd09 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 3 Jul 2017 08:55:21 -0400 Subject: major optimizations, draggable windows --- ShiftOS.Frontend/GraphicsSubsystem/UIManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ShiftOS.Frontend/GraphicsSubsystem') 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); } -- cgit v1.2.3