Browse Source
Merge pull request #7258 from AvaloniaUI/fixes/7227-yet-another-gecognizer-fix
Fix #7227
pull/7260/head
Nikita Tsukanov
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/Avalonia.Input/GestureRecognizers/ScrollGestureRecognizer.cs
|
|
|
@ -71,7 +71,7 @@ namespace Avalonia.Input.GestureRecognizers |
|
|
|
EndGesture(); |
|
|
|
_tracking = e.Pointer; |
|
|
|
_gestureId = ScrollGestureEventArgs.GetNextFreeId();; |
|
|
|
_trackedRootPoint = e.GetPosition(null); |
|
|
|
_trackedRootPoint = e.GetPosition(_target); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|