mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
Fixed canvas-view being a div and not a canvas
This commit is contained in:
parent
dfa3742003
commit
7672a034c8
@ -2,7 +2,7 @@ class File {
|
|||||||
// Canvas, canvas state
|
// Canvas, canvas state
|
||||||
canvasSize = [];
|
canvasSize = [];
|
||||||
zoom = 7;
|
zoom = 7;
|
||||||
canvasView = document.getElementById("canvas-view") ?? document.createElement("canvas");
|
canvasView = document.getElementById("canvas-view") ?? document.createElement("div");
|
||||||
inited = false;
|
inited = false;
|
||||||
|
|
||||||
// Layers
|
// Layers
|
||||||
|
Loading…
Reference in New Issue
Block a user