mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-13 23:25:41 +02:00
wip
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user