浏览代码

Merge pull request #1044 from BDisp/menu-separator

Fixes #1043. The menu separator is being printed in the wrong place.
Charlie Kindel 4 年之前
父节点
当前提交
b4cf7ff506
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Terminal.Gui/Views/Menu.cs

+ 1 - 1
Terminal.Gui/Views/Menu.cs

@@ -453,7 +453,7 @@ namespace Terminal.Gui {
 						Driver.AddRune (' ');
 
 				if (item == null) {
-					Move (Frame.Right - 1, i + 1);
+					Move (Frame.Width - 1, i + 1);
 					Driver.AddRune (Driver.RightTee);
 					continue;
 				}