mirror of
https://github.com/imgfloat/server.git
synced 2026-02-05 03:39:26 +00:00
Remove unneeeded etail
This commit is contained in:
@@ -1461,9 +1461,8 @@ function updateSelectedAssetSummary(asset) {
|
||||
}
|
||||
if (selectedAssetMeta) {
|
||||
const baseMeta = asset ? `${Math.round(asset.width)}x${Math.round(asset.height)}` : null;
|
||||
const layerMeta = asset && !isAudioAsset(asset) ? ` · Layer ${asset.zIndex ?? 1}` : '';
|
||||
selectedAssetMeta.textContent = asset
|
||||
? `${baseMeta}${layerMeta}`
|
||||
? `${baseMeta}`
|
||||
: 'Pick an asset in the list to adjust its placement and playback.';
|
||||
}
|
||||
if (selectedAssetIdLabel) {
|
||||
|
||||
Reference in New Issue
Block a user