Fix ImageZoom

Also fixes the image modal being off centre when having the plugin enabled

Co-Authored-By: sadan <117494111+sadan4@users.noreply.github.com>
This commit is contained in:
Vendicated 2024-10-23 04:22:11 +02:00
parent a11ccde40f
commit 0af820c874
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18
6 changed files with 28 additions and 28 deletions

View file

@ -229,11 +229,7 @@ function AlbumContextMenu({ track }: { track: Track; }) {
id="view-cover"
label="View Album Cover"
// trolley
action={() => openImageModal({
url: track.album.image.url,
height: 512,
width: 512
})}
action={() => openImageModal(track.album.image)}
icon={ImageIcon}
/>
<Menu.MenuControlItem