diff options
Diffstat (limited to 'ShiftOS.Frontend/GraphicsSubsystem')
| -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 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)) { |
