mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-25 17:10:43 +00:00
wip
This commit is contained in:
parent
d3da77c307
commit
4a7614f903
6 changed files with 12 additions and 0 deletions
|
|
@ -66,6 +66,8 @@ export const allInOnePc = defineObject({
|
|||
const targetAspect = 50 / 27.5;
|
||||
|
||||
updateUv(srcAspect, targetAspect, options.fit);
|
||||
|
||||
model.updated();
|
||||
};
|
||||
|
||||
applyFit();
|
||||
|
|
|
|||
|
|
@ -75,6 +75,8 @@ export const laptopPc = defineObject({
|
|||
const targetAspect = 31 / 19;
|
||||
|
||||
updateUv(srcAspect, targetAspect, options.fit);
|
||||
|
||||
model.updated();
|
||||
};
|
||||
|
||||
applyFit();
|
||||
|
|
|
|||
|
|
@ -109,6 +109,8 @@ export const pictureFrame = defineObject({
|
|||
const targetAspect = targetWidth / targetHeight;
|
||||
|
||||
updateUv(srcAspect, targetAspect, options.fit);
|
||||
|
||||
model.updated();
|
||||
};
|
||||
|
||||
applyFit();
|
||||
|
|
|
|||
|
|
@ -66,6 +66,8 @@ export const poster = defineObject({
|
|||
const targetAspect = targetWidth / targetHeight;
|
||||
|
||||
updateUv(srcAspect, targetAspect, options.fit);
|
||||
|
||||
model.updated();
|
||||
};
|
||||
|
||||
applyFit();
|
||||
|
|
|
|||
|
|
@ -109,6 +109,8 @@ export const tabletopPictureFrame = defineObject({
|
|||
const targetAspect = targetWidth / targetHeight;
|
||||
|
||||
updateUv(srcAspect, targetAspect, options.fit);
|
||||
|
||||
model.updated();
|
||||
};
|
||||
|
||||
applyFit();
|
||||
|
|
|
|||
|
|
@ -68,6 +68,8 @@ export const tapestry = defineObject({
|
|||
const targetAspect = targetWidth / targetHeight;
|
||||
|
||||
updateUv(srcAspect, targetAspect, options.fit);
|
||||
|
||||
model.updated();
|
||||
};
|
||||
|
||||
applyFit();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue