From 714f4a5b06bad73d0e4d62d4e29b062bb01112ac Mon Sep 17 00:00:00 2001 From: Benedikt Stebner Date: Mon, 6 Mar 2023 17:53:12 +0100 Subject: [PATCH] Correctly use transformed bounds --- src/Avalonia.Base/Rendering/SceneGraph/GlyphRunNode.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Avalonia.Base/Rendering/SceneGraph/GlyphRunNode.cs b/src/Avalonia.Base/Rendering/SceneGraph/GlyphRunNode.cs index 381c63f430..5b975e29e1 100644 --- a/src/Avalonia.Base/Rendering/SceneGraph/GlyphRunNode.cs +++ b/src/Avalonia.Base/Rendering/SceneGraph/GlyphRunNode.cs @@ -53,7 +53,7 @@ namespace Avalonia.Rendering.SceneGraph } /// - public override bool HitTest(Point p) => GlyphRun.Item.Bounds.ContainsExclusive(p); + public override bool HitTest(Point p) => Bounds.ContainsExclusive(p); public override void Dispose() {