mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-30 01:38:01 +01:00
Reference Bounds in TabView to avoid redrawing issue with repainting
This commit is contained in:
@@ -194,8 +194,8 @@ namespace Terminal.Gui {
|
||||
int spaceAtBottom = Math.Max (0, GetTabHeight (false) - 1);
|
||||
int startAtY = Math.Max (0, GetTabHeight (true) - 1);
|
||||
|
||||
DrawFrame (new Rect (0, startAtY, bounds.Width,
|
||||
Math.Max (bounds.Height - spaceAtBottom - startAtY, 0)), 0, true);
|
||||
DrawFrame (new Rect (0, startAtY, Bounds.Width,
|
||||
Math.Max (Bounds.Height - spaceAtBottom - startAtY, 0)), 0, true);
|
||||
}
|
||||
|
||||
if (Tabs.Any ()) {
|
||||
|
||||
Reference in New Issue
Block a user