Skip to content

Commit

Permalink
chore: default to true
Browse files Browse the repository at this point in the history
  • Loading branch information
nekomeowww committed Dec 11, 2024
1 parent d12afeb commit 9391ae0
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions packages/stage/src/components/MainStage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const mouthOpenSize = ref(0)
const nowSpeaking = ref(false)
const lipSyncStarted = ref(false)
const selectedAudioDevice = ref<MediaDeviceInfo>()
const isAudioInputOn = ref('false')
const isAudioInputOn = ref('true')
const selectedAudioDeviceId = computed(() => selectedAudioDevice.value?.deviceId)
const nowSpeakingAvatarBorderOpacity = computed<number>(() => {
Expand Down Expand Up @@ -516,17 +516,14 @@ onUnmounted(() => {
p="2" bg="zinc-100 dark:zinc-700"
min-w-20 w-full items-center justify-center rounded-lg outline-none
transition="all ease-in-out"
@click="listening = !listening"
>
<Transition mode="out-in">
<div v-if="listening" flex="~ row" items-center justify-center space-x-1>
<div i-carbon:microphone-filled text-red />
</div>
<div v-else flex="~ row" items-center justify-center space-x-1>
<div i-carbon:microphone text-inherit />
<span>
Talk
</span>
Not Listening
</div>
</Transition>
</button>
Expand Down

0 comments on commit 9391ae0

Please sign in to comment.