Improved DPI detection
This commit is contained in:
parent
8257751d29
commit
d8367b6172
@ -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"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user