From 9d83dd369b4d430d69707305f6964294944f3bf1 Mon Sep 17 00:00:00 2001 From: Dan Walmsley Date: Thu, 14 May 2020 17:35:49 -0300 Subject: [PATCH] fix rect. --- src/Avalonia.Visuals/Rect.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Avalonia.Visuals/Rect.cs b/src/Avalonia.Visuals/Rect.cs index e4f70ece8e..52c876263c 100644 --- a/src/Avalonia.Visuals/Rect.cs +++ b/src/Avalonia.Visuals/Rect.cs @@ -121,11 +121,7 @@ namespace Avalonia /// /// Gets the size of the rectangle. /// - public Size Size => new Size(_width, _height); - - public double Left => _x; - - public double Top => _y; + public Size Size => new Size(_width, _height); /// /// Gets the right position of the rectangle.