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

Remove unneeded "soft_min" and "soft_max" parameters. #116

Merged

Conversation

Exairnous
Copy link
Contributor

Having the same "soft" min/max as "hard" min/max is redundant. "soft_min" and "soft_max" are used to set guidelines for the user, i.e. if used on a slider they will be unable to go past these values when clicking and dragging, but this doesn't limit what they can type in directly (that's what min and max do, provide a hard limit that you can't bypass).

Having the same "soft" min/max as "hard" min/max is redundant.
"soft_min" and "soft_max" are used to set guidelines for the user,
i.e. if used on a slider they will be unable to go past these
values when clicking and dragging, but this doesn't limit what
they can type in directly (that's what min and max do, provide
a hard limit that you can't bypass).
@keianhzo keianhzo self-requested a review September 14, 2022 09:40
Copy link
Contributor

@keianhzo keianhzo left a comment

Choose a reason for hiding this comment

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

LGTM

@keianhzo keianhzo merged commit b0486b2 into Hubs-Foundation:master Sep 20, 2022
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