mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 06:36:11 +03:00
Fix flickering tiles with useCanvas=false when no cache is used. Fix #661
This commit is contained in:
parent
be657c0b3d
commit
2674104007
@ -4,6 +4,7 @@ OPENSEADRAGON CHANGELOG
|
||||
2.0.1: (in progress)
|
||||
* BREAKING CHANGE: the tile does not hold a reference to its image anymore. Only the tile cache keep a reference to images.
|
||||
* DEPRECATION: let ImageRecord.getRenderedContext create the rendered context instead of using ImageRecord.setRenderedContext.
|
||||
* Fix flickering tiles with useCanvas=false when no cache is used. (#661)
|
||||
|
||||
2.0.0:
|
||||
|
||||
|
@ -210,8 +210,7 @@ $.Tile.prototype = /** @lends OpenSeadragon.Tile.prototype */{
|
||||
|
||||
if ( !this.element ) {
|
||||
this.element = $.makeNeutralElement( "div" );
|
||||
this.imgElement = $.makeNeutralElement( "img" );
|
||||
this.imgElement.src = this.url;
|
||||
this.imgElement = this.cacheImageRecord.getImage().cloneNode();
|
||||
this.imgElement.style.msInterpolationMode = "nearest-neighbor";
|
||||
this.imgElement.style.width = "100%";
|
||||
this.imgElement.style.height = "100%";
|
||||
|
Loading…
Reference in New Issue
Block a user