fix: always show resolution in details panel (#21046)

Always show resolution in details panel
This commit is contained in:
Arthur Normand 2025-08-18 22:17:45 -04:00 committed by GitHub
parent a8b4a5e856
commit f343b0e58f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -415,9 +415,9 @@
<p>
{getMegapixel(asset.exifInfo.exifImageHeight, asset.exifInfo.exifImageWidth)} MP
</p>
{@const { width, height } = getDimensions(asset.exifInfo)}
<p>{width} x {height}</p>
{/if}
{@const { width, height } = getDimensions(asset.exifInfo)}
<p>{width} x {height}</p>
{/if}
{#if asset.exifInfo?.fileSizeInByte}
<p>{getByteUnitString(asset.exifInfo.fileSizeInByte, $locale)}</p>