Browse Source
Merge pull request #10569 from Gillibald/fixes/glyphRunNodeHitTest
Fix GlyphRunNode HitTest
pull/10579/head
Max Katz
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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() |
|
|
|
{ |
|
|
|
|