From d015da89238bd961659c6cfb816283a3faa9304d Mon Sep 17 00:00:00 2001 From: AkiraFukushima Date: Wed, 20 Nov 2019 23:32:12 +0900 Subject: [PATCH] refs #901 Fix clipboard to use window object --- src/renderer/components/TimelineSpace/Modals/NewToot.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/components/TimelineSpace/Modals/NewToot.vue b/src/renderer/components/TimelineSpace/Modals/NewToot.vue index 057a5c87..99b25785 100644 --- a/src/renderer/components/TimelineSpace/Modals/NewToot.vue +++ b/src/renderer/components/TimelineSpace/Modals/NewToot.vue @@ -299,7 +299,7 @@ export default { return } e.preventDefault() - const image = clipboard.readImage() + const image = window.clipboard.readImage() let data if (/^image\/jpe?g$/.test(mimeTypes[0])) { data = image.toJPEG(100)