final fixes

This commit is contained in:
2024-08-19 13:36:49 +02:00
parent bd2e4cdac4
commit b989111849
6 changed files with 157 additions and 80 deletions

View File

@@ -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( {

View File

@@ -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>