From d8367b61722c0a41b6eee66641dca0f40b5a7ac0 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Thu, 9 Nov 2017 20:45:27 +0100 Subject: [PATCH] Improved DPI detection --- scripts/AnimeNotifier.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/AnimeNotifier.ts b/scripts/AnimeNotifier.ts index 64672508..5acbd97b 100644 --- a/scripts/AnimeNotifier.ts +++ b/scripts/AnimeNotifier.ts @@ -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" }