fix removed pixelRatio

pull/21833/head
Michael Telatynski 2021-04-27 09:56:28 +01:00
parent 915f8b3c9c
commit cc3571c559
1 changed files with 1 additions and 1 deletions

View File

@ -217,7 +217,7 @@ export default class MImageBody extends React.Component {
const info = content.info;
if (
this._isGif() ||
pixelRatio === 1.0 ||
window.devicePixelRatio === 1.0 ||
(!info || !info.w || !info.h || !info.size)
) {
return media.getThumbnailOfSourceHttp(thumbWidth, thumbHeight);