1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-14 00:35:52 +02:00
This commit is contained in:
syuilo
2026-04-03 11:25:25 +09:00
parent d3da77c307
commit 4a7614f903
6 changed files with 12 additions and 0 deletions

View File

@@ -66,6 +66,8 @@ export const allInOnePc = defineObject({
const targetAspect = 50 / 27.5;
updateUv(srcAspect, targetAspect, options.fit);
model.updated();
};
applyFit();

View File

@@ -75,6 +75,8 @@ export const laptopPc = defineObject({
const targetAspect = 31 / 19;
updateUv(srcAspect, targetAspect, options.fit);
model.updated();
};
applyFit();

View File

@@ -109,6 +109,8 @@ export const pictureFrame = defineObject({
const targetAspect = targetWidth / targetHeight;
updateUv(srcAspect, targetAspect, options.fit);
model.updated();
};
applyFit();

View File

@@ -66,6 +66,8 @@ export const poster = defineObject({
const targetAspect = targetWidth / targetHeight;
updateUv(srcAspect, targetAspect, options.fit);
model.updated();
};
applyFit();

View File

@@ -109,6 +109,8 @@ export const tabletopPictureFrame = defineObject({
const targetAspect = targetWidth / targetHeight;
updateUv(srcAspect, targetAspect, options.fit);
model.updated();
};
applyFit();

View File

@@ -68,6 +68,8 @@ export const tapestry = defineObject({
const targetAspect = targetWidth / targetHeight;
updateUv(srcAspect, targetAspect, options.fit);
model.updated();
};
applyFit();