mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-04-03 05:43:30 +03:00
fix #2623
This commit is contained in:
parent
e1e0ec6b24
commit
a5987db8d5
1 changed files with 1 additions and 2 deletions
|
@ -2551,8 +2551,7 @@ $.extend( $.Viewer.prototype, $.EventSource.prototype, $.ControlDock.prototype,
|
|||
var currentPixelDensityRatio = $.getCurrentPixelDensityRatio();
|
||||
if (previusPixelDensityRatio !== currentPixelDensityRatio) {
|
||||
$.pixelDensityRatio = currentPixelDensityRatio;
|
||||
this.world.resetItems();
|
||||
this.forceRedraw();
|
||||
this.forceResize();
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue