aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Frontend/GUI/ItemGroup.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-07-19 16:08:33 -0400
committerMichael <[email protected]>2017-07-19 16:08:33 -0400
commitb8eb7dccfdd16bd1d39bbedeb176fce7f0f1dc9e (patch)
tree4502ced3e939ff3725bc7c1925f1ba88b62653d8 /ShiftOS.Frontend/GUI/ItemGroup.cs
parent3fe1872f5f81f8203e57cbba2dca6ce833f08f22 (diff)
downloadshiftos_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.cs4
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)