fix scaling issues on mobile
This commit is contained in:
parent
611a2da315
commit
a6759c6370
2 changed files with 2 additions and 1 deletions
|
@ -8,6 +8,7 @@ body {
|
|||
color: white;
|
||||
text-align: center;
|
||||
user-select: none;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#no-overflow {
|
||||
|
|
|
@ -230,7 +230,7 @@ Canvas.prototype.click = function () {
|
|||
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);
|
||||
|
||||
setInterval(() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue