mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 00:03:16 +00:00
Fix applyFilterToMediaSave
passing options to image.addEventListener
instead of canvas.toBlob
This commit is contained in:
parent
80a4eff1f1
commit
6d20c85e91
1 changed files with 2 additions and 2 deletions
|
@ -1813,8 +1813,8 @@ export default {
|
||||||
self.updateFilteringMedia();
|
self.updateFilteringMedia();
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
});
|
});
|
||||||
});
|
|
||||||
}, media.mime, 0.9);
|
}, media.mime, 0.9);
|
||||||
|
});
|
||||||
ctx.clearRect(0, 0, image.width, image.height);
|
ctx.clearRect(0, 0, image.width, image.height);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue