Browse Source

Correctly use transformed bounds

pull/10569/head
Benedikt Stebner 3 years ago
parent
commit
714f4a5b06
  1. 2
      src/Avalonia.Base/Rendering/SceneGraph/GlyphRunNode.cs

2
src/Avalonia.Base/Rendering/SceneGraph/GlyphRunNode.cs

@ -53,7 +53,7 @@ namespace Avalonia.Rendering.SceneGraph
}
/// <inheritdoc/>
public override bool HitTest(Point p) => GlyphRun.Item.Bounds.ContainsExclusive(p);
public override bool HitTest(Point p) => Bounds.ContainsExclusive(p);
public override void Dispose()
{

Loading…
Cancel
Save