diff options
| author | Michael <[email protected]> | 2017-07-19 16:08:33 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-07-19 16:08:33 -0400 |
| commit | b8eb7dccfdd16bd1d39bbedeb176fce7f0f1dc9e (patch) | |
| tree | 4502ced3e939ff3725bc7c1925f1ba88b62653d8 /ShiftOS.Frontend/GUI/ItemGroup.cs | |
| parent | 3fe1872f5f81f8203e57cbba2dca6ce833f08f22 (diff) | |
| download | shiftos_thereturn-b8eb7dccfdd16bd1d39bbedeb176fce7f0f1dc9e.tar.gz shiftos_thereturn-b8eb7dccfdd16bd1d39bbedeb176fce7f0f1dc9e.tar.bz2 shiftos_thereturn-b8eb7dccfdd16bd1d39bbedeb176fce7f0f1dc9e.zip | |
Fix terminal and add support for animations
Diffstat (limited to 'ShiftOS.Frontend/GUI/ItemGroup.cs')
| -rw-r--r-- | ShiftOS.Frontend/GUI/ItemGroup.cs | 4 |
1 files changed, 2 insertions, 2 deletions
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) |
