Do not add canvascache to body

This commit is contained in:
LoveEevee 2019-02-21 00:06:16 +03:00
parent a09709843d
commit 92510c3021

View File

@ -11,7 +11,6 @@ class CanvasCache{
this.map = new Map() this.map = new Map()
this.canvas = document.createElement("canvas") this.canvas = document.createElement("canvas")
this.ctx = this.canvas.getContext("2d") this.ctx = this.canvas.getContext("2d")
document.body.appendChild(this.canvas)
} }
this.scale = scale this.scale = scale
this.x = 0 this.x = 0