Parcourir la source

made code clearer

Charlie Kindel il y a 2 ans
Parent
commit
138d0dacd1
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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;