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

flag to allow onMouseClick during a drag #822

Open
p0nce opened this issue Nov 24, 2023 · 0 comments
Open

flag to allow onMouseClick during a drag #822

p0nce opened this issue Nov 24, 2023 · 0 comments
Labels
Enhancement This issue is about a new feature rather than a bug. Linux This issue is Linux-specific. Super hard Solving this needs major refactoring.

Comments

@p0nce
Copy link
Collaborator

p0nce commented Nov 24, 2023

Currently: always allowed! if dragging with some mouse button, another onMouseClick could come from another mouse button.
For every widget in existence.
Most widgets are then only "correct" because the host eat up the nested begin/endParamEdit, and stich together adjacent periods of begin/endParamEdit.

Most of the time, this is only dealt poorly with regards to parameters being dragged.

However removing this is super tricky because of double-click, in some OS double-click comes after single-click and this must be accounted for.
This would also be a breaking change unfortunately.

@p0nce p0nce added Enhancement This issue is about a new feature rather than a bug. Super hard Solving this needs major refactoring. Linux This issue is Linux-specific. labels Nov 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement This issue is about a new feature rather than a bug. Linux This issue is Linux-specific. Super hard Solving this needs major refactoring.
Projects
None yet
Development

No branches or pull requests

1 participant