Browse Source
Merge branch 'master' into textblock-textpresenter-ctor-perf
pull/2786/head
Dariusz Komosiński
7 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.Visuals/Rendering/SceneGraph/VisualNode.cs
|
|
|
@ -236,7 +236,7 @@ namespace Avalonia.Rendering.SceneGraph |
|
|
|
{ |
|
|
|
foreach (var operation in DrawOperations) |
|
|
|
{ |
|
|
|
if (operation.Item.HitTest(p)) |
|
|
|
if (operation?.Item?.HitTest(p) == true) |
|
|
|
{ |
|
|
|
return true; |
|
|
|
} |
|
|
|
|