From bdc815dfb0ed1cbc6d562af394d19397e7cb10a5 Mon Sep 17 00:00:00 2001 From: Daniel Smith Date: Mon, 20 May 2019 14:25:02 -0400 Subject: Integrate KiezelPay/Fitbit_Realistic_HRM --- app/utils.js | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'app/utils.js') diff --git a/app/utils.js b/app/utils.js index d401564..53ab424 100644 --- a/app/utils.js +++ b/app/utils.js @@ -5,3 +5,12 @@ export function zeroPad(i) { } return i; } + +export function drawDigit(val, place) { + place.image = `quantifier/${val}.png` + if (val == 1) { + place.width = 11; + } else { + place.width = 18; + } +} -- cgit v1.2.3