Skip to content

Commit

Permalink
Deploying to gh-pages from @ 956f64f 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
mnerv committed Aug 27, 2023
1 parent 97136e0 commit 3c9e3c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
}
}
window.addEventListener ("resize", e => {
const width = window.innerWidth;
const height = window.innerHeight;
const width = window.innerWidth * devicePixelRatio;
const height = window.innerHeight * devicePixelRatio;
Module.setCanvasSize(width, height)
}, true);
</script>
Expand Down

0 comments on commit 3c9e3c5

Please sign in to comment.