From cdf87579a8efe3084cc5924211bc3a7ccdc3f546 Mon Sep 17 00:00:00 2001 From: xiangyu <3170102889@zju.edu.cn> Date: Sat, 16 Jul 2022 12:20:16 +0800 Subject: [PATCH] add: show annotations --- addon/chrome/content/preferences.xul | 4 ++ addon/chrome/content/previewPDF.html | 74 ++++++++++++++++++++++---- addon/chrome/locale/en-US/overlay.dtd | 1 + addon/chrome/locale/zh-CN/overlay.dtd | 1 + addon/defaults/preferences/defaults.js | 1 + src/preview.ts | 25 +++++++++ typing/global.d.ts | 5 +- 7 files changed, 101 insertions(+), 10 deletions(-) diff --git a/addon/chrome/content/preferences.xul b/addon/chrome/content/preferences.xul index aa72311..f71a4b3 100644 --- a/addon/chrome/content/preferences.xul +++ b/addon/chrome/content/preferences.xul @@ -8,6 +8,7 @@ + @@ -19,6 +20,9 @@ + + + diff --git a/addon/chrome/content/previewPDF.html b/addon/chrome/content/previewPDF.html index 4d460e2..a3856f2 100644 --- a/addon/chrome/content/previewPDF.html +++ b/addon/chrome/content/previewPDF.html @@ -36,10 +36,12 @@