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

Do not emit changed responses on unchanged values in selectable_value/radio_value #2343

Merged
merged 1 commit into from Nov 25, 2022
Merged

Do not emit changed responses on unchanged values in selectable_value/radio_value #2343

merged 1 commit into from Nov 25, 2022

Conversation

xTibor
Copy link
Contributor

@xTibor xTibor commented Nov 25, 2022

The selectable_value and radio_value methods did not take into account that you can click on the very same widget multiple times in a row. They emitted changed responses on every click, even when the underlying value did not change.

Copy link
Owner

@emilk emilk left a comment

Choose a reason for hiding this comment

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

good catch!

@emilk emilk merged commit 502e1aa into emilk:master Nov 25, 2022
emilk pushed a commit that referenced this pull request Dec 2, 2022
JohannesProgrammiert pushed a commit to JohannesProgrammiert/egui that referenced this pull request Jan 21, 2023
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.

None yet

2 participants