Merge branch 'master' of github.com:openseadragon/openseadragon

This commit is contained in:
Ian Gilman 2017-05-19 10:03:29 -07:00
commit d84102be24

View File

@ -888,7 +888,7 @@ function OpenSeadragon( options ){
context.msBackingStorePixelRatio ||
context.oBackingStorePixelRatio ||
context.backingStorePixelRatio || 1;
return devicePixelRatio / backingStoreRatio;
return Math.max(devicePixelRatio, 1) / backingStoreRatio;
} else {
return 1;
}