mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-24 22:26:10 +03:00
Merge pull request #112 from openseadragon/blur
Fixed blendTile()-related blurriness issue (for #95)
This commit is contained in:
commit
b754ea834f
@ -709,8 +709,7 @@ function updateTile( drawer, drawLevel, haveDrawn, x, y, level, levelOpacity, le
|
|||||||
);
|
);
|
||||||
|
|
||||||
if ( tile.loaded ) {
|
if ( tile.loaded ) {
|
||||||
|
var needsUpdate = blendTile(
|
||||||
drawer.updateAgain = blendTile(
|
|
||||||
drawer,
|
drawer,
|
||||||
tile,
|
tile,
|
||||||
x, y,
|
x, y,
|
||||||
@ -718,6 +717,10 @@ function updateTile( drawer, drawLevel, haveDrawn, x, y, level, levelOpacity, le
|
|||||||
levelOpacity,
|
levelOpacity,
|
||||||
currentTime
|
currentTime
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if ( needsUpdate ) {
|
||||||
|
drawer.updateAgain = true;
|
||||||
|
}
|
||||||
} else if ( tile.loading ) {
|
} else if ( tile.loading ) {
|
||||||
// the tile is already in the download queue
|
// the tile is already in the download queue
|
||||||
// thanks josh1093 for finally translating this typo
|
// thanks josh1093 for finally translating this typo
|
||||||
|
Loading…
Reference in New Issue
Block a user