diff --git a/src/Avalonia.Base/Rendering/SceneGraph/GlyphRunNode.cs b/src/Avalonia.Base/Rendering/SceneGraph/GlyphRunNode.cs index b4e28dc254..1c4e63b34a 100644 --- a/src/Avalonia.Base/Rendering/SceneGraph/GlyphRunNode.cs +++ b/src/Avalonia.Base/Rendering/SceneGraph/GlyphRunNode.cs @@ -53,7 +53,10 @@ namespace Avalonia.Rendering.SceneGraph } /// - public override bool HitTestTransformed(Point p) => Bounds.ContainsExclusive(p); + public override bool HitTestTransformed(Point p) + { + return GlyphRun.Item.Bounds.ContainsExclusive(p); + } public override void Dispose() {