BepInEx / BepInEx.ConfigurationManager

Plugin configuration manager for BepInEx
https://www.patreon.com/ManlyMarco
GNU Lesser General Public License v3.0
231 stars 53 forks source link

Use InvariantCulture everywhere to avoid issues with float conversions #12

Closed benediktwerner closed 3 years ago

benediktwerner commented 3 years ago

The main place where I ran into issues with this are range sliders. I'm using a German culture which parses 02.0 as 20 which basically makes the text box besides the slider unusable.

Some of the places I added culture info to might be a bit overkill but I don't think it hurts anywhere and it's better to be safe just in case I guess.

ManlyMarco commented 3 years ago

Looks good, thanks!