Make cover rectangular in player when cover animation is disabled
This commit is contained in:
@@ -35,8 +35,8 @@ const useStyle = makeStyles(
|
|||||||
'pointer-events': 'none',
|
'pointer-events': 'none',
|
||||||
},
|
},
|
||||||
'& .music-player-panel .panel-content div.img-rotate': {
|
'& .music-player-panel .panel-content div.img-rotate': {
|
||||||
'animation-duration': (props) =>
|
animationDuration: (props) => !props.enableCoverAnimation && '0s',
|
||||||
props.enableCoverAnimation ? null : '0s',
|
borderRadius: (props) => !props.enableCoverAnimation && '0',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
artistAlbum: {
|
artistAlbum: {
|
||||||
|
|||||||
Reference in New Issue
Block a user