Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements for Magnify, Avalonia 11.2.3, fixes for MacOS #87

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

SiMet
Copy link
Contributor

@SiMet SiMet commented Mar 3, 2025

  • Update dependency Avalonia to 11.2.3
  • Add support to Magnify (on MacOS)
  • Handle PointerCaptureLost
  • small code refactor

Hi @wieslawsoltes,
I'd like to merge our fixes we implemented to your official repository.
There are addressed issues we found when using your code.
As I've done this changes few months ago I do not exactly remmember the cases.

In my opinion the only change you could have comments are changes in the method Border_PointerWheelChanged.
For MacOS we found that when you scroll then Detlta is always 1 but when you use touchpad then it's double value.
We'd like to have panning on touch pad and scroll only when command button pressed.

In case you don't like such change I propose to extract the implementation to separate protected method which could be override.

Thanks for your work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants