From 92510c302101798019e61c0e7ff4243024c49938 Mon Sep 17 00:00:00 2001 From: LoveEevee Date: Thu, 21 Feb 2019 00:06:16 +0300 Subject: [PATCH] Do not add canvascache to body --- public/src/js/canvascache.js | 1 - 1 file changed, 1 deletion(-) diff --git a/public/src/js/canvascache.js b/public/src/js/canvascache.js index 1b4c121..56a1f7d 100644 --- a/public/src/js/canvascache.js +++ b/public/src/js/canvascache.js @@ -11,7 +11,6 @@ class CanvasCache{ this.map = new Map() this.canvas = document.createElement("canvas") this.ctx = this.canvas.getContext("2d") - document.body.appendChild(this.canvas) } this.scale = scale this.x = 0