From b8eb7dccfdd16bd1d39bbedeb176fce7f0f1dc9e Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 19 Jul 2017 16:08:33 -0400 Subject: Fix terminal and add support for animations --- ShiftOS.Frontend/GraphicsSubsystem/UIManager.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ShiftOS.Frontend/GraphicsSubsystem/UIManager.cs') diff --git a/ShiftOS.Frontend/GraphicsSubsystem/UIManager.cs b/ShiftOS.Frontend/GraphicsSubsystem/UIManager.cs index a88f28e..d16685b 100644 --- a/ShiftOS.Frontend/GraphicsSubsystem/UIManager.cs +++ b/ShiftOS.Frontend/GraphicsSubsystem/UIManager.cs @@ -25,10 +25,10 @@ namespace ShiftOS.Frontend.GraphicsSubsystem topLevels.Add(ctrl); } - public static void LayoutUpdate() + public static void LayoutUpdate(GameTime gameTime) { foreach (var toplevel in topLevels.ToArray()) - toplevel.Layout(); + toplevel.Layout(gameTime); } public static void Animate(object owner, System.Reflection.PropertyInfo prop, double from, double to, int timeMs) @@ -135,7 +135,7 @@ namespace ShiftOS.Frontend.GraphicsSubsystem { if (!topLevels.Contains(ctrl)) topLevels.Add(ctrl); - ctrl.Layout(); + } public static void InvalidateAll() -- cgit v1.2.3