Skip to content
This repository has been archived by the owner on Jun 19, 2020. It is now read-only.

Commit

Permalink
No longer broken
Browse files Browse the repository at this point in the history
  • Loading branch information
JFronny committed Jun 12, 2020
1 parent 9e6b441 commit 30e27b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Commandline/TUI/CenteredScreen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ public class CenteredScreen : Screen
/// <param name="color">Whether to use color when drawing</param>
public CenteredScreen(int width, int height, ConsoleColor contentBack, bool color = true) : base(width, height, color)
{
_titleLabel = new Label(Title);
ContentPanel = new Panel {BackColor = contentBack};
ActualSize = new Size(width, height);
_titleLabel = new Label(Title);
Controls.Add(ContentPanel);
Controls.Add(_titleLabel);
WindowResize += (screen, args) => CalculatePosition();
Expand Down

0 comments on commit 30e27b9

Please sign in to comment.