mirror of
https://github.com/janishutz/MusicPlayerV2.git
synced 2025-11-25 04:54:23 +00:00
some more small updates
This commit is contained in:
@@ -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';
|
||||
|
||||
@@ -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 => {
|
||||
|
||||
@@ -172,6 +172,7 @@
|
||||
text-align: justify;
|
||||
background-color: rgb(2, 16, 61);
|
||||
color: white;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
.loaded {
|
||||
|
||||
Reference in New Issue
Block a user