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

Only fire a selection event when the value changes #575

Merged
merged 1 commit into from
Mar 16, 2024

Conversation

laeubi
Copy link
Contributor

@laeubi laeubi commented Mar 16, 2024

Currently the NebulaSlider fires a selection event on each move even if the value has not change numerically.

This first checks if the value has actually changed before redraw/event firing.

Currently the NebulaSlider fires a selection event on each move even if
the value has not change numerically.

This first checks if the value has actually changed before event
firing.
@laeubi laeubi force-pushed the only_update_on_change branch from ab01578 to 2659986 Compare March 16, 2024 08:08
@laeubi laeubi requested a review from lcaron March 16, 2024 13:15
@lcaron lcaron merged commit ee2548d into EclipseNebula:master Mar 16, 2024
2 checks passed
@lcaron
Copy link
Contributor

lcaron commented Mar 16, 2024

Thank you Christoph

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