zotero/chrome/content
Abe Jellinek e8b574da0b
Fix React icons only using 2x image once (#2324)
a1267bc fixed repeated re-appending of '@2x' by moving the modified URL
to a local variable, but it still set hasHiDPI to false permanently;
this meant that icons displayed repeatedly in the same window, like the
tab close button, would only use their 2x versions the first time they
were displayed (in the case of tabs, this is the library tab's invisible
close button, so *no* tabs got visible 2x buttons).

This commit moves the HiDPI check and URL modification out of the render
function and instead runs it a single time when i() is first called.
2022-02-04 00:38:01 -05:00
..
scaffold Fix Scaffold failing to initialize (#2200) 2021-09-09 05:17:35 -04:00
zotero Fix React icons only using 2x image once (#2324) 2022-02-04 00:38:01 -05:00
zotero-platform XUL -> JS tree megacommit 2021-08-21 06:58:12 -04:00