mirror of
https://github.com/yuukiwww/taiko-web.git
synced 2024-10-02 06:08:53 +02:00
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