Skip to content

Commit

Permalink
fix toast end change step slide of volume
Browse files Browse the repository at this point in the history
  • Loading branch information
cesxhin committed Oct 7, 2023
1 parent 2d337cd commit 1012158
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/components/room/videoAnime.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
hide-details="true"
v-model="volume"
color="white"
step="0.1"
step="0.01"
max="1"
>
<template v-slot:prepend>
Expand Down Expand Up @@ -155,13 +155,12 @@
textBtn="Open"
:actionButton="actionCertificate"
/>
<Toaster position="bottom-right" />
</template>
<script setup>
import {DateTime} from 'luxon';
const { $toast } = useNuxtApp()
const { $emit } = useNuxtApp()
const store = useStore();
const runtimeConfig = useRuntimeConfig();
Expand Down Expand Up @@ -190,7 +189,7 @@ const ignoreAlertRewriteProcess = ref(false);
//player
const play = ref(false);
const volume = ref(1);
const volume = ref(0.25);
const muted = ref(false);
const fullScreen = ref(false);
const showControls = ref(true);
Expand Down Expand Up @@ -389,7 +388,7 @@ function startCoreWs() {
else if(data.message.type === 'changeSource')
message = `${data.message.nickname} has change episode`;
$toast(message);
$emit('api:message', {title: 'WS say', message});
}
//update info general
Expand Down

0 comments on commit 1012158

Please sign in to comment.