Explorar o código

made code clearer

Charlie Kindel %!s(int64=2) %!d(string=hai) anos
pai
achega
09a64909e3
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      Terminal.Gui/Core/ContextMenu.cs

+ 2 - 2
Terminal.Gui/Core/ContextMenu.cs

@@ -110,13 +110,13 @@ namespace Terminal.Gui {
 			} else if (ForceMinimumPosToZero && position.Y < 0) {
 				position.Y = 0;
 			}
-
+			
 			menuBar = new MenuBar (new [] { MenuItems }) {
 				X = position.X,
 				Y = position.Y,
 				Width = 0,
 				Height = 0,
-				UseSubMenusSingleFrame = UseSubMenusSingleFrame // BUGBUG: This line of code does nothing
+				UseSubMenusSingleFrame = this.UseSubMenusSingleFrame 
 			};
 
 			menuBar.isContextMenuLoading = true;