Browse Source

made code clearer

Charlie Kindel 2 năm trước cách đây
mục cha
commit
138d0dacd1
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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;