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

Implement basic mouse support for macOS #17

Merged
merged 1 commit into from
Oct 5, 2024

Conversation

iniceice88
Copy link
Collaborator

Fix: #3

The following mouse events should now work:

  • MousePressed(TouchesBegan),
  • MouseMoved(TouchesMoved),
  • MouseReleased(TouchesEnded),
  • MouseWheel

@janusw janusw added the OS:Mac label Oct 5, 2024
Copy link
Member

@janusw janusw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for the PR! 👍

I just tried the branch on a MacBook Pro (M1) with MacOS 15 (Sequoia), and it works very well for the sample app.

On the current develop branch, no interaction seems to be possible via mouse or trackpad. On this branch, all of the following appears to work fine with the sample app (OxyplotMauiSample):

  • panning via click'n'drag (mouse or trackpad)
  • zooming via mousewheel or two-finger gesture on the trackpad
  • tooltips via clicking (mouse or trackpad)

@janusw janusw merged commit f5c875b into oxyplot:develop Oct 5, 2024
3 checks passed
@iniceice88 iniceice88 deleted the feat/mac_mouse_support branch October 7, 2024 12:36
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.

Mac zoom support
2 participants