~patrickhaussmann/weather.app.5ls.de

af8bb32a6c611427892e088cc4d390660999b3e8 — patrickhaussmann 1 year, 6 months ago 7b0a5fe master
better precision on chart
1 files changed, 3 insertions(+), 3 deletions(-)

M show.js
M show.js => show.js +3 -3
@@ 871,8 871,8 @@ function tileHours() {
        dom.tr(
          dom.td({
            cssVariable: {
              start: chartTempValue.toFixed(1),
              size: nextChartTempValue.toFixed(1),
              start: chartTempValue.toPrecision(2),
              size: nextChartTempValue.toPrecision(2),
            },
          })
        )


@@ 885,7 885,7 @@ function tileHours() {
          chartRainValue &&
            dom.td({
              cssVariable: {
                size: chartRainValue.toFixed(1),
                size: chartRainValue.toPrecision(2),
              },
            })
        )