Improved DPI detection

This commit is contained in:
Eduard Urbach 2017-11-09 20:45:27 +01:00
parent 8257751d29
commit d8367b6172

View File

@ -477,7 +477,7 @@ export class AnimeNotifier {
}
// Anime images on Retina displays
if(base.includes("/anime/") && window.devicePixelRatio >= 2) {
if(base.includes("/anime/") && window.devicePixelRatio > 1) {
base += "@2"
}