Do not add canvascache to body
This commit is contained in:
parent
a09709843d
commit
92510c3021
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user