Skip to content

feat: allow only drag/resize with primary (left) button #132

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

Conversation

amanosacrous
Copy link
Contributor

Dragging and resizing now only respond to the left mouse button or touch.

This change avoids the problem where right-click doesn’t trigger pointerup on macOS, causing inconsistent drag behavior in where the item remained in dragging state and moved unexpectedly even when the pointer was no longer pressed.

Only left-click or touch can drag/resize, to avoid macOS right-click pointerUp inconsistency.
@llorenspujol llorenspujol merged commit 3293c2b into katoid:main Aug 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants