Latest build (master) 2019-05-08
-
When opening my projects with the latest build of Hise all my values on knobs have at least 4 more decimals
https://www.dropbox.com/s/7z4q50pt2u18ngf/bug 1.png?dl=0
and in the property settings for knobs it looks like this:
https://www.dropbox.com/s/sq3njv5igd1po0d/bug 2.png?dl=0
no matter if I change the stepsize settings it just keep jumping back to 4 to 5 decimals -
Anyone else having this problems with 4-5 extra digits?
-
I noticed the change in the property editor, but not in the plugin itself...
-
What I don't understand though, is why the value is rounded sometimes, or rather unrounded
Sometimes 1 transforms into 0,99999, and sometimes more awkward but I don't remember any example... -
@ustk Well 1 is equivalent to 0.9999... :)
-
@d-healey yes sure it doesn't make any difference, it's just weird
-
@d-healey The problem is that's really ugly to have all these digits for all knobs in the user interface.
Look at my first picture...
Even if I use Math.floor(value) it spits out all the decimals, strange.... -
@ulrik Have you tried
Engine.doubleToString(double value, int digits)
? -
@ustk oh, no I havn't I will try that, thank you! :)
-
Nah it‘s a glitch because JUCE changed something with the var to String conversion. Will take a look at it.
-
@Christoph-Hart Great, thanks :)