This commit is contained in:
ct
2025-06-16 13:48:59 +08:00
parent 1282400372
commit 5dec236a1f

View File

@@ -225,8 +225,8 @@ const VideoEditor = ({ width, height }) => {
} }
} else { } else {
// Meme overlay: Cover behavior but with some padding/sizing // Meme overlay: Cover behavior but with some padding/sizing
const memeMaxWidth = canvasWidth; // 80% of canvas width const memeMaxWidth = canvasWidth; // 100% of canvas width
const memeMaxHeight = canvasHeight; // 80% of canvas height const memeMaxHeight = canvasHeight; // 100% of canvas height
const memeAspect = memeMaxWidth / memeMaxHeight; const memeAspect = memeMaxWidth / memeMaxHeight;
if (imageAspect > memeAspect) { if (imageAspect > memeAspect) {