Skip to content

Commit

Permalink
Apply code formatting
Browse files Browse the repository at this point in the history
Signed-off-by: İevgen Baida <ievgen.baida@mendix.com>
  • Loading branch information
ievgen-baida committed Feb 23, 2024
1 parent e8ec49e commit 8b546eb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Eto/Forms/ThemedControls/ThemedDocumentControlHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ void Drawable_MouseDown(object sender, MouseEventArgs e)
}
else
SelectedIndex = i;

break;
}
}
Expand Down Expand Up @@ -691,8 +691,7 @@ void DrawTab(Graphics g, ThemedDocumentPageHandler tab, int i)
var tabRect = tab.Rect;
var textRect = tab.TextRect;
var closerect = tab.CloseRect;
var closemargin = closerect.Height / 3;
var size = tabRect.Size;
var closemargin = closerect.Height / 3;

var textcolor = Enabled ? TabForegroundColor : DisabledForegroundColor;
var backcolor = TabBackgroundColor;
Expand Down Expand Up @@ -725,7 +724,6 @@ void DrawTab(Graphics g, ThemedDocumentPageHandler tab, int i)
g.DrawLine(closeForeground, closerect.X + closemargin, closerect.Y + closemargin, closerect.X + closerect.Width - 1 - closemargin, closerect.Y + closerect.Height - 1 - closemargin);
g.DrawLine(closeForeground, closerect.X + closemargin, closerect.Y + closerect.Height - 1 - closemargin, closerect.X + closerect.Width - 1 - closemargin, closerect.Y + closemargin);
}

}

/// <summary>
Expand Down

0 comments on commit 8b546eb

Please sign in to comment.