commit d7309ca64ef683bd4ec134472ac330b018311af2 parent d6064cfeba25da503afb85a5326c0d41e4481bde Author: Dan Stillman <dstillman@zotero.org> Date: Wed, 6 Apr 2016 01:10:01 -0400 Use hi-res attachment file bullets Diffstat:
| M | chrome/content/zotero/xpcom/itemTreeView.js | | | 5 | +++-- |
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/chrome/content/zotero/xpcom/itemTreeView.js b/chrome/content/zotero/xpcom/itemTreeView.js @@ -1139,9 +1139,10 @@ Zotero.ItemTreeView.prototype.getImageSrc = function(row, col) if (item.isFileAttachment()) { let exists = item.fileExistsCached(); if (exists !== null) { + let suffix = Zotero.hiDPISuffix; return exists - ? "chrome://zotero/skin/bullet_blue.png" - : "chrome://zotero/skin/bullet_blue_empty.png"; + ? `chrome://zotero/skin/bullet_blue{$suffix}.png` + : `chrome://zotero/skin/bullet_blue_empty{$suffix}.png`; } item.fileExists()