Skip to content

Commit

Permalink
hotfix math round pop
Browse files Browse the repository at this point in the history
  • Loading branch information
ARWeb committed Oct 22, 2022
1 parent cc6e00e commit 2a495f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "miEl",
"version": "1.3.6",
"version": "1.3.7",
"description": "A beautiful desktop weather widget",
"main": "dist/main/index.cjs",
"repository": "https://github.com/arwebSE/miel.git",
Expand Down
2 changes: 1 addition & 1 deletion packages/preload/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ domReady().then(() => {
el.sunrise.innerHTML = getTime(sunrise);
el.sunset.innerHTML = getTime(sunset);
el.prec.innerHTML = res.daily[0].rain;
el.pop.innerHTML = res.daily[0].pop * 100;
el.pop.innerHTML = Math.round(res.daily[0].pop * 100);
const tempUnit = getSettings().freedom ? "F" : "C";
const unitElements = document.getElementsByClassName("tempFormat");
[].slice.call(unitElements).forEach(function (el) {
Expand Down

0 comments on commit 2a495f6

Please sign in to comment.