build
This commit is contained in:
parent
98f91607cd
commit
4487834591
15 changed files with 452 additions and 520 deletions
2
docs/dist/draw.js
vendored
2
docs/dist/draw.js
vendored
|
|
@ -7,7 +7,7 @@ export const getDrawContext = (id = "test-canvas") => {
|
|||
canvas.id = id;
|
||||
canvas.width = window.innerWidth;
|
||||
canvas.height = window.innerHeight;
|
||||
canvas.style = "pointer-events:none;width:100%;height:100%;position:fixed;top:0;left:0";
|
||||
canvas.style = "pointer-events:none;width:100%;height:100%;position:fixed;top:0;left:0;z-index:5";
|
||||
document.body.prepend(canvas);
|
||||
}
|
||||
return canvas.getContext("2d");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue