moveComment

This commit is contained in:
tamaina 2023-04-14 11:41:46 +00:00
parent 5e5f46f5ae
commit f45be592e3

View file

@ -54,10 +54,10 @@ function calcAspectRatio() {
return;
}
//
const ratioMax = (ratio: number) => `${Math.max(ratio, img.properties.width / img.properties.height).toString()} / 1`;
switch (defaultStore.state.mediaListWithOneImageAppearance) {
//
case '16_9':
gallery.value.style.aspectRatio = ratioMax(16 / 9);
break;