From f1d8a1c2899c424e32ed5a08a4eef3aad55f2c24 Mon Sep 17 00:00:00 2001
From: windingwind <33902321+windingwind@users.noreply.github.com>
Date: Tue, 14 May 2024 16:56:40 +0800
Subject: [PATCH] Fix splitMenuButton dropdown icon
---
chrome/content/zotero/elements/splitMenuButton.js | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/chrome/content/zotero/elements/splitMenuButton.js b/chrome/content/zotero/elements/splitMenuButton.js
index 24bbef84f3..600bf9b613 100644
--- a/chrome/content/zotero/elements/splitMenuButton.js
+++ b/chrome/content/zotero/elements/splitMenuButton.js
@@ -113,8 +113,6 @@
}
get contentFragment() {
- // Zotero.hiDPI[Suffix] may not have been initialized yet, so calculate it ourselves
- let hiDPISuffix = window.devicePixelRatio > 1 ? '@2x' : '';
let frag = document.importNode(
MozXULElement.parseXULToFragment(`
@@ -123,7 +121,7 @@
-
+
`),
true