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/GUI/ItemGroup.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ShiftOS.Frontend/GUI/ItemGroup.cs') diff --git a/ShiftOS.Frontend/GUI/ItemGroup.cs b/ShiftOS.Frontend/GUI/ItemGroup.cs index e52a17f..13f02c6 100644 --- a/ShiftOS.Frontend/GUI/ItemGroup.cs +++ b/ShiftOS.Frontend/GUI/ItemGroup.cs @@ -3,6 +3,7 @@ using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; +using Microsoft.Xna.Framework; namespace ShiftOS.Frontend.GUI { @@ -12,7 +13,7 @@ namespace ShiftOS.Frontend.GUI private FlowDirection _flowDir = FlowDirection.LeftToRight; private int _initialgap = 2; - protected override void OnLayout() + protected override void OnLayout(GameTime gameTime) { if (AutoSize) { @@ -44,7 +45,6 @@ namespace ShiftOS.Frontend.GUI ctrl.X = _x; ctrl.Y = _y; ctrl.Dock = DockStyle.None; - ctrl.Layout(); _x += ctrl.Width + _gap; if (_maxYForRow < ctrl.Height + _gap) -- cgit v1.2.3