diff options
Diffstat (limited to 'ShiftOS.Frontend/Infobox.cs')
| -rw-r--r-- | ShiftOS.Frontend/Infobox.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ShiftOS.Frontend/Infobox.cs b/ShiftOS.Frontend/Infobox.cs index 18bf60a..21b5538 100644 --- a/ShiftOS.Frontend/Infobox.cs +++ b/ShiftOS.Frontend/Infobox.cs @@ -3,6 +3,7 @@ using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; +using Microsoft.Xna.Framework; using ShiftOS.Engine; using ShiftOS.Frontend.Desktop; using ShiftOS.Frontend.GraphicsSubsystem; @@ -178,11 +179,9 @@ namespace ShiftOS.Frontend this.AddControl(btnok); this.AddControl(flyesno); this.AddControl(lbmessage); - - this.Layout(); } - protected override void OnLayout() + protected override void OnLayout(GameTime gameTime) { try { |
