mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
Remove unnecessary conditional statement.
This commit is contained in:
@@ -113,17 +113,14 @@ internal class TabRowView : View
|
||||
base.OnHasFocusChanged (newHasFocus, previousFocusedView, focusedView);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
/// <inheritdoc/>
|
||||
protected override void OnSubviewLayout (LayoutEventArgs args)
|
||||
{
|
||||
if (NeedsLayout)
|
||||
{
|
||||
_host._tabLocations = _host.CalculateViewport (Viewport).ToArray ();
|
||||
_host._tabLocations = _host.CalculateViewport (Viewport).ToArray ();
|
||||
|
||||
RenderTabLine ();
|
||||
RenderTabLine ();
|
||||
|
||||
RenderUnderline ();
|
||||
}
|
||||
RenderUnderline ();
|
||||
|
||||
base.OnSubviewLayout (args);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user