Make cover rectangular in player when cover animation is disabled
This commit is contained in:
parent
5d9bea5087
commit
1922eaaab2
1 changed files with 2 additions and 2 deletions
|
|
@ -35,8 +35,8 @@ const useStyle = makeStyles(
|
|||
'pointer-events': 'none',
|
||||
},
|
||||
'& .music-player-panel .panel-content div.img-rotate': {
|
||||
'animation-duration': (props) =>
|
||||
props.enableCoverAnimation ? null : '0s',
|
||||
animationDuration: (props) => !props.enableCoverAnimation && '0s',
|
||||
borderRadius: (props) => !props.enableCoverAnimation && '0',
|
||||
},
|
||||
},
|
||||
artistAlbum: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue