mirror of
https://codeberg.org/Hyperpipe/Hyperpipe
synced 2025-06-27 20:58:01 +02:00
feature: Show which track is Now Playing within a playlist (#164)
Fixes #147 Reviewed-on: https://codeberg.org/Hyperpipe/Hyperpipe/pulls/164 Co-authored-by: banaanihillo <banaanihillo@protonmail.ch> Co-committed-by: banaanihillo <banaanihillo@protonmail.ch>
This commit is contained in:
parent
34564460d9
commit
e0dd732dee
2 changed files with 7 additions and 2 deletions
|
@ -128,13 +128,17 @@ const openSong = el => {
|
|||
@click.prevent="artist.getArtist(channel.replace('/channel/', ''))">
|
||||
<i class="ign">{{ author ? author.replaceAll(' - Topic', '') : '' }}</i>
|
||||
</a>
|
||||
<span v-if="play === data.state?.url">
|
||||
<span class="bi-play"></span>
|
||||
<span>{{ t('title.now_playing') }}</span>
|
||||
</span>
|
||||
</span>
|
||||
|
||||
<button
|
||||
class="bi bi-three-dots-vertical popup-wrap ign"
|
||||
@mouseenter="show = true"
|
||||
@mouseleave="show = false"
|
||||
@click.enter="show = !show">
|
||||
@keyup.enter="show = !show">
|
||||
<Transition name="fade">
|
||||
<div v-if="show" class="popup ign">
|
||||
<button
|
||||
|
|
|
@ -18,7 +18,8 @@
|
|||
"search": "Search",
|
||||
"feeds": "Feeds",
|
||||
"offline": "Offline",
|
||||
"restore_prefs": "Restore preferences"
|
||||
"restore_prefs": "Restore preferences",
|
||||
"now_playing": "Now Playing"
|
||||
},
|
||||
"action": {
|
||||
"back": "Back",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue