mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-30 01:38:01 +01:00
Adding braces to if statement.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user