Browse Source

fix check for more camera-device options

feat/vitejs-trent
Trent Larson 8 months ago
parent
commit
35455e6648
  1. 2
      src/components/GiftedPhotoDialog.vue

2
src/components/GiftedPhotoDialog.vue

@ -74,7 +74,7 @@
<fa icon="left-right" class="w-[1em]"></fa> <fa icon="left-right" class="w-[1em]"></fa>
</button> </button>
</div> </div>
<div v-if="numDevices > -1" class="absolute bottom-2 right-4"> <div v-if="numDevices > 1" class="absolute bottom-2 right-4">
<button <button
@click="switchCamera()" @click="switchCamera()"
class="bg-blue-500 hover:bg-blue-700 text-white font-bold p-3 rounded-full text-2xl leading-none" class="bg-blue-500 hover:bg-blue-700 text-white font-bold p-3 rounded-full text-2xl leading-none"

Loading…
Cancel
Save