Merge pull request #3948 from paulkaplan/no-video-thumbnails
Prevent thumbnails from containing the video layer
This commit is contained in:
1 file changed
+2
@@ -224,7 +224,9 @@ const ProjectSaverHOC = function (WrappedComponent) {
|
||||
*/
|
||||
storeProjectThumbnail (projectId) {
|
||||
try {
|
||||
this.props.vm.postIOData('video', {forceTransparentPreview: true});
|
||||
this.props.vm.renderer.requestSnapshot(dataURI => {
|
||||
this.props.vm.postIOData('video', {forceTransparentPreview: false});
|
||||
this.props.onUpdateProjectThumbnail(
|
||||
projectId, dataURItoBlob(dataURI));
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user