Fixed capture resize in capture payload

This commit is contained in:
Joel Collins 2020-05-28 13:00:34 +01:00
parent 46a1396476
commit eee596b15c

View file

@ -333,7 +333,7 @@ export default {
// Resizing // Resizing
if (this.resizeCapture) { if (this.resizeCapture) {
payload.size = { payload.resize = {
width: this.resizeDims[0], width: this.resizeDims[0],
height: this.resizeDims[1] height: this.resizeDims[1]
}; };
@ -348,6 +348,8 @@ export default {
payload.annotations["Notes"] = this.captureNotes; payload.annotations["Notes"] = this.captureNotes;
} }
console.log(payload);
return payload; return payload;
}, },