This is already a value copy (struct)

This commit is contained in:
dodexahedron
2024-02-16 20:08:02 -07:00
committed by Brandon Thetford
parent 0fb31d19f7
commit deaa7563fc

View File

@@ -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;