Fixed: Ensure max sized posters aren't returned for some devices
This commit is contained in:
parent
364f074be1
commit
45c221a3b2
|
@ -24,7 +24,7 @@ class SeriesImage extends Component {
|
||||||
constructor(props, context) {
|
constructor(props, context) {
|
||||||
super(props, context);
|
super(props, context);
|
||||||
|
|
||||||
const pixelRatio = Math.floor(window.devicePixelRatio);
|
const pixelRatio = Math.max(Math.round(window.devicePixelRatio), 1);
|
||||||
|
|
||||||
const {
|
const {
|
||||||
images,
|
images,
|
||||||
|
|
Loading…
Reference in New Issue