Adding braces to if statement.

This commit is contained in:
BDisp
2023-03-02 18:01:53 +00:00
parent 5840ad25e8
commit 82b3dc4a9d

View File

@@ -1068,8 +1068,9 @@ namespace Terminal.Gui {
var driver = Application.Driver;
if (DrawMarginFrame) {
driver.SetAttribute (new Attribute (BorderBrush, Background));
if (view.HasFocus)
if (view.HasFocus) {
driver.SetAttribute (new Attribute (Child.ColorScheme.HotNormal.Foreground, Background));
}
var padding = view.Border.GetSumThickness ();
Rect scrRect;
if (view == Child) {