mirror of
https://github.com/janishutz/MusicPlayerV2.git
synced 2025-11-25 13:04:23 +00:00
small fix
This commit is contained in:
@@ -26,9 +26,12 @@
|
|||||||
0% {
|
0% {
|
||||||
background-color: rgba( 0, 0, 0, 0.2 );
|
background-color: rgba( 0, 0, 0, 0.2 );
|
||||||
}
|
}
|
||||||
50% {
|
20% {
|
||||||
background-color: rgba( 0, 0, 0, 0 );
|
background-color: rgba( 0, 0, 0, 0 );
|
||||||
}
|
}
|
||||||
|
100% {
|
||||||
|
background-color: rgba( 0, 0, 0, 0.2 );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes gradientAnim {
|
@keyframes gradientAnim {
|
||||||
|
|||||||
@@ -207,9 +207,9 @@ export default {
|
|||||||
this.control( 'play' );
|
this.control( 'play' );
|
||||||
this.isPlaying = true;
|
this.isPlaying = true;
|
||||||
this.sendUpdate( 'isPlaying' );
|
this.sendUpdate( 'isPlaying' );
|
||||||
this.sendUpdate( 'playingSong' );
|
|
||||||
this.sendUpdate( 'pos' );
|
this.sendUpdate( 'pos' );
|
||||||
}
|
}
|
||||||
|
this.sendUpdate( 'playingSong' );
|
||||||
const minuteCount = Math.floor( this.playingSong.duration / 60 );
|
const minuteCount = Math.floor( this.playingSong.duration / 60 );
|
||||||
this.durationBeautified = minuteCount + ':';
|
this.durationBeautified = minuteCount + ':';
|
||||||
if ( ( '' + minuteCount ).length === 1 ) {
|
if ( ( '' + minuteCount ).length === 1 ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user