Skip to content

Commit 1013b90

Browse files
committed
Partiall re-fixed TabView
1 parent 262777e commit 1013b90

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Terminal.Gui/Views/TabView.cs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -668,6 +668,9 @@ protected override bool OnDrawingContent ()
668668
{
669669
_host._tabLocations = _host.CalculateViewport (Viewport).ToArray ();
670670

671+
RenderTabLine ();
672+
673+
RenderUnderline ();
671674

672675
SetAttribute (HasFocus ? GetFocusColor () : GetNormalColor ());
673676

@@ -677,9 +680,9 @@ protected override bool OnDrawingContent ()
677680
/// <inheritdoc />
678681
protected override bool OnDrawingSubviews ()
679682
{
680-
RenderTabLine ();
683+
// RenderTabLine ();
681684

682-
return true;
685+
return false;
683686
}
684687

685688
protected override void OnDrawComplete ()
@@ -1214,7 +1217,7 @@ protected override void OnDrawComplete ()
12141217
tab.LineCanvas.Merge (lc);
12151218
tab.RenderLineCanvas ();
12161219

1217-
RenderUnderline ();
1220+
// RenderUnderline ();
12181221
}
12191222
}
12201223

0 commit comments

Comments
 (0)