Forráskód Böngészése

fixed type thingie

Tino Koch 2 hónapja
szülő
commit
3863899141
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      src/components/TresCanvas.vue

+ 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,