mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-02-16 14:53:14 +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)
|
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.
|
* 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.
|
* 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:
|
2.0.0:
|
||||||
|
|
||||||
|
@ -210,8 +210,7 @@ $.Tile.prototype = /** @lends OpenSeadragon.Tile.prototype */{
|
|||||||
|
|
||||||
if ( !this.element ) {
|
if ( !this.element ) {
|
||||||
this.element = $.makeNeutralElement( "div" );
|
this.element = $.makeNeutralElement( "div" );
|
||||||
this.imgElement = $.makeNeutralElement( "img" );
|
this.imgElement = this.cacheImageRecord.getImage().cloneNode();
|
||||||
this.imgElement.src = this.url;
|
|
||||||
this.imgElement.style.msInterpolationMode = "nearest-neighbor";
|
this.imgElement.style.msInterpolationMode = "nearest-neighbor";
|
||||||
this.imgElement.style.width = "100%";
|
this.imgElement.style.width = "100%";
|
||||||
this.imgElement.style.height = "100%";
|
this.imgElement.style.height = "100%";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user