2
0
Brandon Thetford 1 жил өмнө
parent
commit
0fb31d19f7

+ 1 - 3
Terminal.Gui/Drawing/LineCanvas.cs

@@ -82,9 +82,7 @@ public class LineCanvas : IDisposable
 
                 for (var i = 1; i < _lines.Count; i++)
                 {
-                    StraightLine line = _lines [i];
-                    Rect lineBounds = line.Bounds;
-                    bounds = Rect.Union (bounds, lineBounds);
+                    bounds = Rectangle.Union (bounds, _lines [i].Bounds);
                 }
 
                 if (bounds.Width == 0)