From 0d6678a7359160c2a09d4e1599abed445db26ea3 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 13b7cf5b0b..051364afbe 100644 --- a/chrome/skin/default/zotero/contextPane.css +++ b/chrome/skin/default/zotero/contextPane.css @@ -51,6 +51,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; } @@ -62,6 +66,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 3540d9184e..1bf671a4b6 160000 --- a/pdf-reader +++ b/pdf-reader @@ -1 +1 @@ -Subproject commit 3540d9184ea9e0a37be92e9757c216987482d8bf +Subproject commit 1bf671a4b645754b21e6c1868dd6fb5b2f225554