mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-01-31 23:21:42 +03:00
Clear the imageLoader when re-drawing
This commit is contained in:
parent
6bf3b8d7d4
commit
8dc8779fee
@ -673,7 +673,7 @@ $.extend( $.Viewer.prototype, $.EventSource.prototype, $.ControlDock.prototype,
|
||||
THIS[ this.hash ].animating = false;
|
||||
this.world.removeAll();
|
||||
this.imageLoader.clear();
|
||||
|
||||
|
||||
/**
|
||||
* Raised when the viewer is closed (see {@link OpenSeadragon.Viewer#close}).
|
||||
*
|
||||
@ -2926,6 +2926,7 @@ function resizeViewportAndRecenter( viewer, containerSize, oldBounds, oldCenter
|
||||
}
|
||||
|
||||
function drawWorld( viewer ) {
|
||||
viewer.imageLoader.clear();
|
||||
viewer.drawer.clear();
|
||||
viewer.world.draw();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user