fix(capture): show preview during encoding too

This commit is contained in:
wryk 2019-03-18 12:15:30 +01:00
parent cc3c3b2d75
commit 0ab48094fc

View file

@ -57,6 +57,9 @@ export default {
window.objectFitPolyfill(this.$refs.preview) window.objectFitPolyfill(this.$refs.preview)
document.body.classList.add('capture-body') document.body.classList.add('capture-body')
}, },
updated: function () {
this.updatePreviewMediaStream()
},
destroyed: function () { destroyed: function () {
document.body.classList.remove('capture-body') document.body.classList.remove('capture-body')
} }