Skip to content

Commit

Permalink
mini-video-recorder: Allow changing stream
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaellehmkuhl committed Jan 30, 2024
1 parent 7d9f6e0 commit 243bdfe
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/components/mini-widgets/MiniVideoRecorder.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@
@click="toggleRecording()"
/>
<template v-if="!isRecording">
<div v-if="nameSelectedStream" class="flex flex-col max-w-[50%] scroll-container">
<div
v-if="nameSelectedStream"
class="flex flex-col max-w-[50%] scroll-container transition-all border-blur cursor-pointer"
@click="isStreamSelectDialogOpen = true"
>
<div class="text-xs text-white select-none scroll-text">{{ nameSelectedStream }}</div>
</div>
<FontAwesomeIcon v-else icon="fa-solid fa-video" class="h-6 text-slate-100" />
Expand Down Expand Up @@ -228,4 +232,9 @@ watch(isRecording, () => {
.scroll-text:hover {
transform: translateX(-100%);
}
.border-blur:hover {
background-color: #475569;
box-shadow: 0px 0px 3px 3px #475569;
}
</style>

0 comments on commit 243bdfe

Please sign in to comment.