Browse Source

Merge pull request #10569 from Gillibald/fixes/glyphRunNodeHitTest

Fix GlyphRunNode HitTest
pull/10579/head
Max Katz 4 years ago
committed by GitHub
parent
commit
0e31d4ddeb
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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