From deaa7563fcf11afe26734ab0eebf112f9c337996 Mon Sep 17 00:00:00 2001 From: dodexahedron Date: Fri, 16 Feb 2024 20:08:02 -0700 Subject: [PATCH] This is already a value copy (struct) --- Terminal.Gui/Drawing/LineCanvas.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Terminal.Gui/Drawing/LineCanvas.cs b/Terminal.Gui/Drawing/LineCanvas.cs index 279a5460b..7539aedad 100644 --- a/Terminal.Gui/Drawing/LineCanvas.cs +++ b/Terminal.Gui/Drawing/LineCanvas.cs @@ -95,7 +95,7 @@ public class LineCanvas : IDisposable bounds.Height = 1; } - _cachedBounds = new Rect (bounds.X, bounds.Y, bounds.Width, bounds.Height); + _cachedBounds = bounds; } return _cachedBounds;