Closed vorg closed 5 years ago
To make it work with nodes instead of adding to body we can add it to ctx.gl.canvas.parentElement and change position: fixed to absolute
ctx.gl.canvas.parentElement
position: fixed
absolute
To make it work with nodes instead of adding to body we can add it to
ctx.gl.canvas.parentElement
and changeposition: fixed
toabsolute