Update
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user