Prevents null value.

This commit is contained in:
BDisp
2023-03-10 19:30:04 +00:00
committed by Tig
parent efae9abc41
commit 752574a542

View File

@@ -290,8 +290,8 @@ namespace Terminal.Gui {
if (useErrorColors) {
d.ColorScheme = Colors.Error;
border.BorderBrush = Colors.Error.Normal.Foreground;
border.Background = Colors.Error.Normal.Background;
d.Border.BorderBrush = Colors.Error.Normal.Foreground;
d.Border.Background = Colors.Error.Normal.Background;
} else {
d.ColorScheme = Colors.Dialog;
d.Border.BorderBrush = Colors.Dialog.Normal.Foreground;