Procházet zdrojové kódy

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

tznind před 4 roky
rodič
revize
5cef7f7663
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  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
 	}
-}
+}