Merge pull request #3948 from paulkaplan/no-video-thumbnails

Prevent thumbnails from containing the video layer
This commit is contained in:
Paul Kaplan authored and GitHub committed 2018-12-04 15:28:45 -05:00
commit aa1c631ddc
1 file changed
+2
+2
View File
@@ -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));
});