Przeglądaj źródła

Fixed Redraw in TabView not setting needs display on tab area view

tznind 4 lat temu
rodzic
commit
5cef7f7663
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      Terminal.Gui/Views/TabView.cs

+ 2 - 1
Terminal.Gui/Views/TabView.cs

@@ -179,6 +179,7 @@ namespace Terminal.Gui {
 
 			if (Tabs.Any ()) {
 				tabsBar.Redraw (tabsBar.Bounds);
+				contentView.SetNeedsDisplay();
 				contentView.Redraw (contentView.Bounds);
 			}
 		}
@@ -840,4 +841,4 @@ namespace Terminal.Gui {
 		}
 		#endregion
 	}
-}
+}