Skip to content

fix: recalculate gui scale max everytime widget is rebuilt #3093

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

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

contariaa
Copy link
Contributor

Pass an IntSupplier instead of int max that is called everytime a new widget is created. This will update to the new max gui scale after resizing.

Closes #2951

@douira douira added this to the Sodium 0.7 milestone May 29, 2025
douira pushed a commit to douira/sodium that referenced this pull request May 29, 2025
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.

Recalculate GUI scale slider maximum on window resize
2 participants