some more small updates

This commit is contained in:
2024-06-30 17:32:42 +02:00
parent 88ecea1761
commit 361523172d
4 changed files with 35 additions and 19 deletions

View File

@@ -74,8 +74,6 @@
<script setup lang="ts">
// TODO: Handle resize, hide all non-essential controls when below 900px width
import { ref, type Ref } from 'vue';
import playlistView from '@/components/playlistView.vue';
import MusicKitJSWrapper from '@/scripts/music-player';

View File

@@ -69,10 +69,12 @@
const selectPlaylist = ( id: string ) => {
player.value.selectPlaylist( id );
player.value.controlUI( 'show' );
}
const selectCustomPlaylist = ( playlist: ReadFile[] ) => {
player.value.selectCustomPlaylist( playlist );
player.value.controlUI( 'show' );
}
fetch( localStorage.getItem( 'url' ) + '/checkUserStatus', { credentials: 'include' } ).then( res => {

View File

@@ -172,6 +172,7 @@
text-align: justify;
background-color: rgb(2, 16, 61);
color: white;
min-height: 100vh;
}
.loaded {