mirror of
https://github.com/janishutz/MusicPlayerV2.git
synced 2025-11-25 21:14:22 +00:00
final fixes
This commit is contained in:
@@ -451,7 +451,7 @@
|
||||
niceDuration.value += secondCounts;
|
||||
}
|
||||
}
|
||||
}, 50 );
|
||||
}, 100 );
|
||||
}
|
||||
|
||||
const prepNiceDurationTime = ( playingSong: Song ) => {
|
||||
@@ -596,8 +596,8 @@
|
||||
}
|
||||
}
|
||||
|
||||
window.addEventListener( 'beforeunload', () => {
|
||||
notificationHandler.disconnect();
|
||||
window.addEventListener( 'beforeunload', async () => {
|
||||
await notificationHandler.disconnect();
|
||||
} );
|
||||
|
||||
defineExpose( {
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
<span class="material-symbols-outlined move-icon" @click="moveSong( song.id, 'down' )" title="Move song down" v-if="canBeMoved( 'down', song.id )">arrow_downward</span>
|
||||
<h3 class="song-title">{{ song.title }}</h3>
|
||||
<div>
|
||||
<input type="text" placeholder="Additional information for remote display" v-model="song.additionalInfo" @focusin="kbControl( 'on' )" @focusout="kbControl( 'off' )">
|
||||
<input type="text" placeholder="Additional information for remote display" title="Additional information for remote display" v-model="song.additionalInfo" @focusin="kbControl( 'on' )" @focusout="kbControl( 'off' )">
|
||||
<p class="playing-in">{{ getTimeUntil( song ) }}</p>
|
||||
</div>
|
||||
<button @click="deleteSong( song.id )" class="small-buttons" title="Remove this song from the queue" v-if="canBeMoved( 'down', song.id ) || canBeMoved( 'up', song.id )"><span class="material-symbols-outlined">delete</span></button>
|
||||
|
||||
Reference in New Issue
Block a user