Browse Source

fix missing ken burns

pull/81/head
Mikael Finstad 6 years ago
parent
commit
59bd545e63
  1. 2
      sources/fabric/fabricFrameSources.js

2
sources/fabric/fabricFrameSources.js

@ -70,7 +70,7 @@ async function imageFrameSource({ verbose, params, width, height }) {
img.scaleToHeight(height * scaleFactor);
}
} else if (resizeMode === 'stretch') {
img.setOptions({ scaleX: width / img.width, scaleY: height / img.height });
img.setOptions({ scaleX: (width / img.width) * scaleFactor, scaleY: (height / img.height) * scaleFactor });
}
if (blurredImg) canvas.add(blurredImg);

Loading…
Cancel
Save