Canvas Positioning at 0,0
This commit is contained in:
1 parent
5c1d7d2254
commit
73d89a6e90
1 file changed
+1
@@ -7,6 +7,7 @@ function loadAdvancedAlgosPlatform() {
|
||||
canvas.width = 1400;
|
||||
canvas.height = 600;
|
||||
canvas.style.border = "0";
|
||||
canvas.style = "position:absolute; top:0px; left:0px; z-index:1";
|
||||
|
||||
let body = document.getElementsByTagName("body")[0];
|
||||
body.appendChild(canvas);
|
||||
|
||||
Reference in new issue
Block a user