Closed ouronghuang closed 6 months ago
Using the document element will affect other UI elements, so change it to gl.domElement so that the impact is only within the Canvas element
document
gl.domElement
Canvas
Using the
document
element will affect other UI elements, so change it togl.domElement
so that the impact is only within theCanvas
element