浏览代码

made code clearer

Charlie Kindel 2 年之前
父节点
当前提交
138d0dacd1
共有 1 个文件被更改,包括 2 次插入2 次删除
  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) {
 			} else if (ForceMinimumPosToZero && position.Y < 0) {
 				position.Y = 0;
 				position.Y = 0;
 			}
 			}
-
+			
 			menuBar = new MenuBar (new [] { MenuItems }) {
 			menuBar = new MenuBar (new [] { MenuItems }) {
 				X = position.X,
 				X = position.X,
 				Y = position.Y,
 				Y = position.Y,
 				Width = 0,
 				Width = 0,
 				Height = 0,
 				Height = 0,
-				UseSubMenusSingleFrame = UseSubMenusSingleFrame // BUGBUG: This line of code does nothing
+				UseSubMenusSingleFrame = this.UseSubMenusSingleFrame 
 			};
 			};
 
 
 			menuBar.isContextMenuLoading = true;
 			menuBar.isContextMenuLoading = true;