Explorar o código

Fixed layout to match coding guidelines

tznind %!s(int64=4) %!d(string=hai) anos
pai
achega
57a93aa186
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  1. 4 4
      Terminal.Gui/Views/TreeView.cs

+ 4 - 4
Terminal.Gui/Views/TreeView.cs

@@ -732,15 +732,15 @@ namespace Terminal.Gui {
 		/// its parents are collapsed)
 		/// </summary>
 		/// <param name="toSelect"></param>
-		public void GoTo(T toSelect)
+		public void GoTo (T toSelect)
 		{
-			if(ObjectToBranch(toSelect) == null) {
+			if (ObjectToBranch (toSelect) == null) {
 				return;
 			}
 
 			SelectedObject = toSelect;
-			EnsureVisible(toSelect);
-			SetNeedsDisplay();
+			EnsureVisible (toSelect);
+			SetNeedsDisplay ();
 		}
 
 		/// <summary>