aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Frontend/GraphicsSubsystem
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-07-03 11:29:54 -0400
committerMichael <[email protected]>2017-07-03 11:29:54 -0400
commitbe6cd3a0c02168b998e58b77a4d08a4b7cb8cfe3 (patch)
tree3d732005a4807f3057ce6f9de1bb68518bbfe043 /ShiftOS.Frontend/GraphicsSubsystem
parent68362b4c6fe2e740ac02f7b4cb1ae77de3cfbd09 (diff)
downloadshiftos_thereturn-be6cd3a0c02168b998e58b77a4d08a4b7cb8cfe3.tar.gz
shiftos_thereturn-be6cd3a0c02168b998e58b77a4d08a4b7cb8cfe3.tar.bz2
shiftos_thereturn-be6cd3a0c02168b998e58b77a4d08a4b7cb8cfe3.zip
text input stuff
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 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))
{