Skip to content

Commit 9e490b3

Browse files
committed
fix a little coloring issue
1 parent d48bbc4 commit 9e490b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ConsoleHero/GlobalSettings.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ public static class GlobalSettings
1212
/// <summary>
1313
/// This is the default color all text will be. If unset, will be White.
1414
/// </summary>
15-
public static Color DefaultTextColor { get; set; } = IColorService.ConsoleColorToDrawingColor(ConsoleColor.White);
16-
15+
public static Color DefaultTextColor { get => defaultTextColor; set => defaultTextColor = value; }
1716
/// <summary>
1817
/// How many line breaks between menues or paragraphs. Set to 1 by default.
1918
/// </summary>
@@ -45,6 +44,7 @@ public static IColorService ColorService
4544

4645
private static IConsoleService? _service;
4746
private static IColorService? _colorService;
47+
private static Color defaultTextColor = IColorService.ConsoleColorToDrawingColor(ConsoleColor.White);
4848

4949
public static Host Content { get; set; } = InitializeContent();
5050

0 commit comments

Comments
 (0)