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

Makes AdaptiveDoubleSpinBox less erratic #36

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

alexhroom
Copy link
Collaborator

Fixes #32. It turns out that when you click up and down, the self.decimals() property doesn't change even if the actual value is being shown at higher precision (as it was in the AdaptiveDoubleSpinBox), so we can ensure the displayed value is rounded to what we expect.

Copy link
Contributor

@StephenNneji StephenNneji left a comment

Choose a reason for hiding this comment

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

I thought the fix would be more complex. Nice one

@alexhroom alexhroom merged commit 4dd4dd4 into RascalSoftware:main Oct 1, 2024
10 checks passed
@alexhroom alexhroom deleted the fix-doublespinbox branch October 1, 2024 06:23
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.

AdaptiveDoubleSpinBox has erratic behaviour
2 participants