Browse Source
Merge branch 'master' into feature/date-time-picker-twoway
pull/6022/head
Dariusz Komosiński
5 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/Windows/Avalonia.Win32/WindowImpl.CustomCaptionProc.cs
|
|
|
@ -117,7 +117,7 @@ namespace Avalonia.Win32 |
|
|
|
{ |
|
|
|
var visual = window.Renderer.HitTestFirst(position, _owner as Window, x => |
|
|
|
{ |
|
|
|
if (x is IInputElement ie && !ie.IsHitTestVisible) |
|
|
|
if (x is IInputElement ie && (!ie.IsHitTestVisible || !ie.IsVisible)) |
|
|
|
{ |
|
|
|
return false; |
|
|
|
} |
|
|
|
|