fix minor issues.

This commit is contained in:
Miroslav Šedivý 2024-04-20 14:27:46 +02:00
parent b302c98e81
commit 22524f7d71
2 changed files with 5 additions and 4 deletions

View File

@ -201,21 +201,21 @@ function toggleControl() {
function toggleMedia() {
if (playable.value && playing.value) {
props.neko.video.pause()
props.neko.pause()
}
if (playable.value && !playing.value) {
props.neko.video.play()
props.neko.play()
}
}
function toggleMute() {
if (playable.value && muted.value) {
props.neko.video.unmute()
props.neko.unmute()
}
if (playable.value && !muted.value) {
props.neko.video.mute()
props.neko.mute()
}
}

View File

@ -255,6 +255,7 @@
ul {
display: inline-block;
padding: 16px 0 0 0;
overflow-x: auto;
li {
background: $background-secondary;