mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
fix minor issues.
This commit is contained in:
parent
b302c98e81
commit
22524f7d71
@ -201,21 +201,21 @@ function toggleControl() {
|
|||||||
|
|
||||||
function toggleMedia() {
|
function toggleMedia() {
|
||||||
if (playable.value && playing.value) {
|
if (playable.value && playing.value) {
|
||||||
props.neko.video.pause()
|
props.neko.pause()
|
||||||
}
|
}
|
||||||
|
|
||||||
if (playable.value && !playing.value) {
|
if (playable.value && !playing.value) {
|
||||||
props.neko.video.play()
|
props.neko.play()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function toggleMute() {
|
function toggleMute() {
|
||||||
if (playable.value && muted.value) {
|
if (playable.value && muted.value) {
|
||||||
props.neko.video.unmute()
|
props.neko.unmute()
|
||||||
}
|
}
|
||||||
|
|
||||||
if (playable.value && !muted.value) {
|
if (playable.value && !muted.value) {
|
||||||
props.neko.video.mute()
|
props.neko.mute()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -255,6 +255,7 @@
|
|||||||
ul {
|
ul {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding: 16px 0 0 0;
|
padding: 16px 0 0 0;
|
||||||
|
overflow-x: auto;
|
||||||
|
|
||||||
li {
|
li {
|
||||||
background: $background-secondary;
|
background: $background-secondary;
|
||||||
|
Loading…
Reference in New Issue
Block a user