From eecd85a1c28687e9484b706d28b94c256fd6893e Mon Sep 17 00:00:00 2001 From: Abe Jellinek Date: Wed, 17 May 2023 16:45:53 +0300 Subject: [PATCH] Disable window dragging inside toolbar controls And enable in the context pane toolbar extension. --- chrome/skin/default/zotero/contextPane.css | 5 +++++ pdf-reader | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/chrome/skin/default/zotero/contextPane.css b/chrome/skin/default/zotero/contextPane.css index c20b13885d..32a429b1af 100644 --- a/chrome/skin/default/zotero/contextPane.css +++ b/chrome/skin/default/zotero/contextPane.css @@ -52,6 +52,10 @@ background: linear-gradient(to top, #a9a9a9 0, #a9a9a9 1px, #f6f6f6 1px, #f6f6f6 100%); } +#zotero-tab-toolbar .toolbarButton { + -moz-window-dragging: no-drag; +} + #zotero-item-toolbar { height: 32px; } @@ -63,6 +67,7 @@ width: 100%; margin-inline-start: -5px; background: linear-gradient(to top, #a9a9a9 0, #a9a9a9 1px, #f6f6f6 1px, #f6f6f6 100%); + -moz-window-dragging: drag; } .zotero-context-notes-list { diff --git a/pdf-reader b/pdf-reader index 5c21f0a43b..9e2d8969c5 160000 --- a/pdf-reader +++ b/pdf-reader @@ -1 +1 @@ -Subproject commit 5c21f0a43b328bb53e290954e67fe59a54401bf1 +Subproject commit 9e2d8969c5c54e2b4617b4d60b566aca8bd1bd8e