feat(nyancat): add the status of stillness nyancat (#541)

This commit is contained in:
Map1en_ 2021-04-14 01:38:38 +08:00 committed by GitHub
parent 4f4f2b09e3
commit 2ecba8e161
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 1 deletions

View file

@ -2,7 +2,10 @@
<div class="player" @click="toggleLyrics">
<div
class="progress-bar"
:class="{ nyancat: settings.nyancatStyle }"
:class="{
nyancat: settings.nyancatStyle,
'nyancat-stop': settings.nyancatStyle && !player.playing,
}"
@click.stop
>
<vue-slider