1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-14 11:23:42 +02:00

Fixed: Ensure max sized posters aren't returned for some devices

This commit is contained in:
Mark McDowall 2019-04-24 21:00:15 -07:00
parent 364f074be1
commit 45c221a3b2

View File

@ -24,7 +24,7 @@ class SeriesImage extends Component {
constructor(props, context) {
super(props, context);
const pixelRatio = Math.floor(window.devicePixelRatio);
const pixelRatio = Math.max(Math.round(window.devicePixelRatio), 1);
const {
images,