small fix

This commit is contained in:
2023-11-10 21:43:38 +01:00
parent 9f898b3101
commit 483de3cbc3
2 changed files with 5 additions and 2 deletions

View File

@@ -26,9 +26,12 @@
0% {
background-color: rgba( 0, 0, 0, 0.2 );
}
50% {
20% {
background-color: rgba( 0, 0, 0, 0 );
}
100% {
background-color: rgba( 0, 0, 0, 0.2 );
}
}
@keyframes gradientAnim {

View File

@@ -207,9 +207,9 @@ export default {
this.control( 'play' );
this.isPlaying = true;
this.sendUpdate( 'isPlaying' );
this.sendUpdate( 'playingSong' );
this.sendUpdate( 'pos' );
}
this.sendUpdate( 'playingSong' );
const minuteCount = Math.floor( this.playingSong.duration / 60 );
this.durationBeautified = minuteCount + ':';
if ( ( '' + minuteCount ).length === 1 ) {