mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-21 05:15:35 +02:00
wip
This commit is contained in:
@@ -66,6 +66,8 @@ export const allInOnePc = defineObject({
|
|||||||
const targetAspect = 50 / 27.5;
|
const targetAspect = 50 / 27.5;
|
||||||
|
|
||||||
updateUv(srcAspect, targetAspect, options.fit);
|
updateUv(srcAspect, targetAspect, options.fit);
|
||||||
|
|
||||||
|
model.updated();
|
||||||
};
|
};
|
||||||
|
|
||||||
applyFit();
|
applyFit();
|
||||||
|
|||||||
@@ -75,6 +75,8 @@ export const laptopPc = defineObject({
|
|||||||
const targetAspect = 31 / 19;
|
const targetAspect = 31 / 19;
|
||||||
|
|
||||||
updateUv(srcAspect, targetAspect, options.fit);
|
updateUv(srcAspect, targetAspect, options.fit);
|
||||||
|
|
||||||
|
model.updated();
|
||||||
};
|
};
|
||||||
|
|
||||||
applyFit();
|
applyFit();
|
||||||
|
|||||||
@@ -109,6 +109,8 @@ export const pictureFrame = defineObject({
|
|||||||
const targetAspect = targetWidth / targetHeight;
|
const targetAspect = targetWidth / targetHeight;
|
||||||
|
|
||||||
updateUv(srcAspect, targetAspect, options.fit);
|
updateUv(srcAspect, targetAspect, options.fit);
|
||||||
|
|
||||||
|
model.updated();
|
||||||
};
|
};
|
||||||
|
|
||||||
applyFit();
|
applyFit();
|
||||||
|
|||||||
@@ -66,6 +66,8 @@ export const poster = defineObject({
|
|||||||
const targetAspect = targetWidth / targetHeight;
|
const targetAspect = targetWidth / targetHeight;
|
||||||
|
|
||||||
updateUv(srcAspect, targetAspect, options.fit);
|
updateUv(srcAspect, targetAspect, options.fit);
|
||||||
|
|
||||||
|
model.updated();
|
||||||
};
|
};
|
||||||
|
|
||||||
applyFit();
|
applyFit();
|
||||||
|
|||||||
@@ -109,6 +109,8 @@ export const tabletopPictureFrame = defineObject({
|
|||||||
const targetAspect = targetWidth / targetHeight;
|
const targetAspect = targetWidth / targetHeight;
|
||||||
|
|
||||||
updateUv(srcAspect, targetAspect, options.fit);
|
updateUv(srcAspect, targetAspect, options.fit);
|
||||||
|
|
||||||
|
model.updated();
|
||||||
};
|
};
|
||||||
|
|
||||||
applyFit();
|
applyFit();
|
||||||
|
|||||||
@@ -68,6 +68,8 @@ export const tapestry = defineObject({
|
|||||||
const targetAspect = targetWidth / targetHeight;
|
const targetAspect = targetWidth / targetHeight;
|
||||||
|
|
||||||
updateUv(srcAspect, targetAspect, options.fit);
|
updateUv(srcAspect, targetAspect, options.fit);
|
||||||
|
|
||||||
|
model.updated();
|
||||||
};
|
};
|
||||||
|
|
||||||
applyFit();
|
applyFit();
|
||||||
|
|||||||
Reference in New Issue
Block a user