mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 12:33:03 +00:00
fix app grid layout issues
+ fully move now playing to bottom bar + add hover state to playlist card + handle playing tracks from queue page
This commit is contained in:
committed by
Mungai Njoroge
parent
0dbc45e20b
commit
20151afcf5
+11
-2
@@ -1,6 +1,11 @@
|
||||
<template>
|
||||
<div class="queue-view">
|
||||
<Layout :tracks="queue.tracklist" :no_header="true"> </Layout>
|
||||
<div class="queue-view" style="height: 100%">
|
||||
<Layout
|
||||
:tracks="queue.tracklist"
|
||||
:no_header="true"
|
||||
@playFromPage="playFromQueue"
|
||||
>
|
||||
</Layout>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -9,4 +14,8 @@ import useQStore from "@/stores/queue";
|
||||
import Layout from "@/layouts/HeaderAndVList.vue";
|
||||
|
||||
const queue = useQStore();
|
||||
|
||||
function playFromQueue(index: number) {
|
||||
queue.play(index);
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user