zotero/chrome
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
..
content Fix React icons only using 2x image once (#2324) 2022-02-04 00:38:01 -05:00
locale Update locales from Transifex and merge new English strings 2022-02-02 02:22:34 -05:00
skin/default Doc Prefs: Don't increase style list height at larger font sizes 2022-01-02 16:57:06 -05:00