Fix splitMenuButton dropdown icon
This commit is contained in:
parent
bc47ee46c8
commit
f1d8a1c289
1 changed files with 1 additions and 3 deletions
|
@ -113,8 +113,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
get contentFragment() {
|
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(
|
let frag = document.importNode(
|
||||||
MozXULElement.parseXULToFragment(`
|
MozXULElement.parseXULToFragment(`
|
||||||
<html:div anonid="button-image-and-text-box">
|
<html:div anonid="button-image-and-text-box">
|
||||||
|
@ -123,7 +121,7 @@
|
||||||
</html:div>
|
</html:div>
|
||||||
<html:div anonid="dropmarker-separator"/>
|
<html:div anonid="dropmarker-separator"/>
|
||||||
<html:div anonid="dropmarker-box">
|
<html:div anonid="dropmarker-box">
|
||||||
<image src="chrome://zotero/skin/searchbar-dropmarker${hiDPISuffix}.png" width="7" height="4" class="split-menu-button-dropmarker"/>
|
<image src="chrome://zotero/skin/8/universal/chevron-8.svg" class="split-menu-button-dropmarker"/>
|
||||||
</html:div>
|
</html:div>
|
||||||
`),
|
`),
|
||||||
true
|
true
|
||||||
|
|
Loading…
Reference in a new issue