From be6cd3a0c02168b998e58b77a4d08a4b7cb8cfe3 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 3 Jul 2017 11:29:54 -0400 Subject: text input stuff --- 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 705fc5d..372c5a6 100644 --- a/ShiftOS.Frontend/GraphicsSubsystem/UIManager.cs +++ b/ShiftOS.Frontend/GraphicsSubsystem/UIManager.cs @@ -43,7 +43,7 @@ namespace ShiftOS.Frontend.GraphicsSubsystem public static void DrawControls(GraphicsDevice graphics, SpriteBatch batch) { - foreach (var ctrl in topLevels) + foreach (var ctrl in topLevels.ToArray()) { using(var bmp = new System.Drawing.Bitmap(ctrl.Width, ctrl.Height)) { -- cgit v1.2.3