1
0
Tino Koch 3 сар өмнө
parent
commit
3863899141

+ 1 - 1
src/components/TresCanvas.vue

@@ -155,7 +155,7 @@ const unmountCanvas = () => {
 }
 
 onMounted(async () => {
-  const existingCanvas = canvasRef.value as Ref<HTMLCanvasElement>
+  const existingCanvas = canvasRef as Ref<HTMLCanvasElement>
 
   context.value = await useTresContextProvider({
     scene: scene.value as TresScene,