[3d] bug fix for unable click vue button (#2581)

This commit is contained in:
Terry Jia
2025-02-16 09:35:20 -05:00
committed by GitHub
parent 0c8bfb4650
commit bfb1b80cd7
2 changed files with 4 additions and 2 deletions

View File

@@ -20,7 +20,7 @@
<div
v-if="animations && animations.length > 0"
class="absolute top-0 left-0 w-full flex justify-center pt-2 gap-2 items-center z-10"
class="absolute top-0 left-0 w-full flex justify-center pt-2 gap-2 items-center pointer-events-auto z-10"
>
<Button class="p-button-rounded p-button-text" @click="togglePlay">
<i

View File

@@ -1,5 +1,7 @@
<template>
<div class="absolute top-2 left-2 flex flex-col gap-2 z-20">
<div
class="absolute top-2 left-2 flex flex-col gap-2 pointer-events-auto z-20"
>
<Button class="p-button-rounded p-button-text" @click="toggleCamera">
<i
class="pi pi-camera text-white text-lg"