3:4 → 2:3
This commit is contained in:
parent
f45be592e3
commit
6c8da244d8
|
@ -64,8 +64,8 @@ function calcAspectRatio() {
|
|||
case '1_1':
|
||||
gallery.value.style.aspectRatio = ratioMax(1);
|
||||
break;
|
||||
case '3_4':
|
||||
gallery.value.style.aspectRatio = ratioMax(3 / 4);
|
||||
case '2_3':
|
||||
gallery.value.style.aspectRatio = ratioMax(2 / 3);
|
||||
break;
|
||||
default:
|
||||
gallery.value.style.aspectRatio = '';
|
||||
|
|
|
@ -86,7 +86,7 @@
|
|||
<option value="expand">{{ i18n.ts.friendlyRecommended }}</option>
|
||||
<option value="16_9">{{ i18n.t('limitTo', { x: '16:9' }) }}</option>
|
||||
<option value="1_1">{{ i18n.t('limitTo', { x: '1:1' }) }}</option>
|
||||
<option value="3_4">{{ i18n.t('limitTo', { x: '3:4' }) }}</option>
|
||||
<option value="2_3">{{ i18n.t('limitTo', { x: '2:3' }) }}</option>
|
||||
</MkRadios>
|
||||
</div>
|
||||
</FormSection>
|
||||
|
|
|
@ -308,7 +308,7 @@ export const defaultStore = markRaw(new Storage('base', {
|
|||
},
|
||||
mediaListWithOneImageAppearance: {
|
||||
where: 'device',
|
||||
default: 'expand' as 'expand' | '16_9' | '1_1' | '3_4',
|
||||
default: 'expand' as 'expand' | '16_9' | '1_1' | '2_3',
|
||||
},
|
||||
}));
|
||||
|
||||
|
|
Loading…
Reference in New Issue