unoplatform / uno

Build Mobile, Desktop and WebAssembly apps with C# and XAML. Today. Open source and professionally supported.
https://platform.uno
Apache License 2.0
8.45k stars 685 forks source link

fix(wpf): Fix IsLeftButtonPressed status on WPF platform #16517

Open lindexi opened 2 weeks ago

lindexi commented 2 weeks ago

GitHub Issue (If applicable): #14393

PR Type

What kind of change does this PR introduce?

What is the current behavior?

We can receive the pointer event with IsLeftButtonPressed is true when touch release.

What is the new behavior?

We can receive the pointer event with IsLeftButtonPressed is false when touch release.

See https://github.com/unoplatform/uno/pull/16378/files#r1575262313

PR Checklist

Please check if your PR fulfills the following requirements:

Other information

Cc @dr1rrb , and I will add more information about the barel button and the eraser status later.

Internal Issue (If applicable):

unodevops commented 2 weeks ago

🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-16517/index.html

unodevops commented 2 weeks ago

🤖 Your WebAssembly Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-16517/index.html