fix scaling issues on mobile

This commit is contained in:
biglyderv 2025-05-20 20:44:10 -04:00
parent 611a2da315
commit a6759c6370
Signed by: biglyderv
GPG key ID: 0E2EB0B4CD7397B5
2 changed files with 2 additions and 1 deletions

View file

@ -8,6 +8,7 @@ body {
color: white; color: white;
text-align: center; text-align: center;
user-select: none; user-select: none;
overflow: hidden;
} }
#no-overflow { #no-overflow {

View file

@ -230,7 +230,7 @@ Canvas.prototype.click = function () {
this.firstY = this.pageY; this.firstY = this.pageY;
} }
var canvas = new Canvas(Math.floor(window.innerWidth / 4.5), Math.floor(window.innerHeight / 6.5), 4); var canvas = new Canvas(Math.floor(window.innerWidth / 4.5), Math.floor(window.innerHeight / 7.5), 4);
var handler = new TickHandler(canvas); var handler = new TickHandler(canvas);
setInterval(() => { setInterval(() => {