cyberjunk / meridian59-dotnet

New 3D client and tools for Meridian 59
GNU General Public License v3.0
34 stars 36 forks source link

Fix sliders in char creation UI. #305

Closed skittles1 closed 5 years ago

skittles1 commented 5 years ago

Sliders would lose the 'slider' part due to having their max value set to 0 when CharCreationInfo was reset. Avoid setting the max value to 0, and also reset the current slider value to 0 when properties change to match expected defaults.

Fixes #148, and the bug can be replicated exactly as described in that issue.