mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-02-16 14:53:14 +03:00
Merge branch 'master' of github.com:openseadragon/openseadragon
This commit is contained in:
commit
d84102be24
@ -888,7 +888,7 @@ function OpenSeadragon( options ){
|
|||||||
context.msBackingStorePixelRatio ||
|
context.msBackingStorePixelRatio ||
|
||||||
context.oBackingStorePixelRatio ||
|
context.oBackingStorePixelRatio ||
|
||||||
context.backingStorePixelRatio || 1;
|
context.backingStorePixelRatio || 1;
|
||||||
return devicePixelRatio / backingStoreRatio;
|
return Math.max(devicePixelRatio, 1) / backingStoreRatio;
|
||||||
} else {
|
} else {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user