Преглед изворни кода

Fixes #1043. The menu separator is being printed in the wrong place.

BDisp пре 4 година
родитељ
комит
8725c3f461
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 (' ');
 						Driver.AddRune (' ');
 
 
 				if (item == null) {
 				if (item == null) {
-					Move (Frame.Right - 1, i + 1);
+					Move (Frame.Width - 1, i + 1);
 					Driver.AddRune (Driver.RightTee);
 					Driver.AddRune (Driver.RightTee);
 					continue;
 					continue;
 				}
 				}