This commit is contained in:
syuilo 2026-04-03 11:25:25 +09:00
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();