-
Notifications
You must be signed in to change notification settings - Fork 149
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
Settings - Fix decimal formatting not pushed to variable #1564
base: master
Are you sure you want to change the base?
Conversation
I think |
And |
Yeah you're right. I assumed it too fast and looked over |
Maybe something like this:
|
Or better: |
The "bug" is definitly there, but my solution was obviously not the right one (thx for pointing out 💯). |
toFixed returns string
- Moved slidebar update to after rounding variable - Applied decimal formatting to slider speed/step
This is now working code. Updated that decimal count is enforced in:
I tested it in-game and have tested the code for errors, but let me know if there are any problems. |
When merged this pull request will: