Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

Commit

Permalink
fix minor issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
m1k1o committed Apr 20, 2024
1 parent b302c98 commit 22524f7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/page/components/controls.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
}
Expand Down
1 change: 1 addition & 0 deletions src/page/main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@
ul {
display: inline-block;
padding: 16px 0 0 0;
overflow-x: auto;
li {
background: $background-secondary;
Expand Down

0 comments on commit 22524f7

Please sign in to comment.