From d48cc8611b691750ea8138ae3406ea1bb69069da Mon Sep 17 00:00:00 2001 From: Vanessa Date: Wed, 6 Jul 2022 15:57:58 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/5332 --- app/appearance/themes/daylight/theme.css | 3 ++- app/src/util/history.ts | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/appearance/themes/daylight/theme.css b/app/appearance/themes/daylight/theme.css index 65977c8bf..063772071 100644 --- a/app/appearance/themes/daylight/theme.css +++ b/app/appearance/themes/daylight/theme.css @@ -148,7 +148,8 @@ /* PDF */ .textLayer, .pdf__resize { - mix-blend-mode: darken; + /* dark 蓝色、紫色背景显示不清楚,文档位于 https://github.com/siyuan-note/siyuan/issues/5351 */ + mix-blend-mode: multiply; } .b3-typography div.hljs, .protyle-wysiwyg div.hljs { diff --git a/app/src/util/history.ts b/app/src/util/history.ts index 57638a92c..1dbef852c 100644 --- a/app/src/util/history.ts +++ b/app/src/util/history.ts @@ -443,16 +443,19 @@ export const openHistory = () => { } }); }); + break; } else if (type === "uploadSnapshot") { fetchPost("/api/repo/uploadCloudSnapshot", { tag: target.parentElement.getAttribute("data-tag"), id: target.parentElement.getAttribute("data-id") }); + break; } else if (type === "downloadSnapshot") { fetchPost("/api/repo/downloadCloudSnapshot", { tag: target.parentElement.getAttribute("data-tag"), id: target.parentElement.getAttribute("data-id") }); + break; } else if (type === "genTag") { const genTagDialog = new Dialog({ title: window.siyuan.languages.tagSnapshot,