mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-04-01 21:06:12 +03:00
Merge branch 'master' of github.com:openseadragon/openseadragon
This commit is contained in:
commit
d84102be24
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue