From 5ab60d77068edce177841e94b8260e1a40231730 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 19 Jul 2017 22:09:04 -0400 Subject: Focus a control when it's added to a parent. --- 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 d16685b..4ec1292 100644 --- a/ShiftOS.Frontend/GraphicsSubsystem/UIManager.cs +++ b/ShiftOS.Frontend/GraphicsSubsystem/UIManager.cs @@ -135,7 +135,7 @@ namespace ShiftOS.Frontend.GraphicsSubsystem { if (!topLevels.Contains(ctrl)) topLevels.Add(ctrl); - + FocusedControl = ctrl; } public static void InvalidateAll() -- cgit v1.2.3