ssbh_editor
ssbh_editor copied to clipboard
Drag slider precision preference
I saw this on the to-do list and attempted to implement it myself into the AppPreferences class, but it became a mess since I had to change the parameters for a lot of functions just so I can access that value. Not sure of a good solution.
This doesn't need to part of the application preferences. I was thinking of making the number of displayed digits a parameter for the DragSlider. I would need to research how much precision is actually needed for most parameter values.
I usually round numbers to the hundredths or thousandths place when doing things like converting RGB values from 0 - 255 to 0 - 1 but that's obviously a personal preference. I honestly don't think there's gonna be a definitive Goldilocks precision value which is why I suggested letting the user adjust it.
This is purely a visual thing. The DragSlider is still storing the full precision if you edit the value by clicking on it, which was fixed recently. The reason to adjust the number of displayed decimal digits is to account for different widths for the control rather than a user preference.