mirror of
https://github.com/pebble-dev/clay.git
synced 2026-10-26 22:59:56 -04:00
always display all the decimals of the slider's value
Add test
This commit is contained in:
1 parent
b553094742
commit
c937ee735e
2 files changed
+28
-1
No files matched your search
@@ -25,7 +25,7 @@ module.exports = {
|
||||
* @return {void}
|
||||
*/
|
||||
function setValueDisplay() {
|
||||
var value = self.get();
|
||||
var value = self.get().toFixed(self.precision);
|
||||
$value.set('value', value);
|
||||
$valuePad.set('innerHTML', value);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user