Browse Source
setValue() formatted the new text before clamping the value, so a value above the maximum produced a text with more digits than the dial and the dial ended up showing the unclamped value. Format the clamped value instead. The current and new texts can still differ in length while animating, for example when setValueRange() changes the number of digits, so only compare characters that exist in the new text. Fixes #2997chirpmodem-v8.0.0
1 changed files with 3 additions and 2 deletions
Loading…
Reference in new issue