change scaling to not fully use division
This commit is contained in:
parent
58779f7f86
commit
e1032902ac
1 changed files with 3 additions and 3 deletions
|
@ -228,7 +228,7 @@ Canvas.prototype.click = function () {
|
|||
this.firstY = this.pageY;
|
||||
}
|
||||
|
||||
var canvas = new Canvas(Math.floor(window.innerWidth / 4.5), Math.floor(window.innerHeight / 7.5), 4);
|
||||
var canvas = new Canvas(Math.floor(window.innerWidth / 4), Math.floor(window.innerHeight / 4) - 100, 4);
|
||||
var handler = new TickHandler(canvas);
|
||||
|
||||
setInterval(() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue