Skip to content

Commit

Permalink
Make cover rectangular in player when cover animation is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
deluan committed Jul 4, 2021
1 parent 5d9bea5 commit 1922eaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/src/audioplayer/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 1922eaa

Please sign in to comment.