feat: store current track object to enable clear queue to work correctly

This commit is contained in:
geoffrey45
2022-08-05 20:20:34 +03:00
parent b9f0368f5b
commit aa4db95547
5 changed files with 26 additions and 21 deletions
+3 -4
View File
@@ -12,10 +12,7 @@
/>
</div>
<FolderList :folders="FStore.dirs" v-if="FStore.dirs.length" />
<SongList
:tracks="FStore.tracks"
:path="FStore.path"
/>
<SongList :tracks="FStore.tracks" :path="FStore.path" />
</div>
</div>
</template>
@@ -79,6 +76,8 @@ onBeforeRouteUpdate((to, from) => {
position: relative;
height: max-content;
height: $banner-height;
pointer-events: none;
user-select: none;
.text {
bottom: 1rem;