This commit is contained in:
Peter 2018-06-06 15:19:12 -04:00
commit 532b0b95af
2 changed files with 5 additions and 4 deletions

View File

@ -13,6 +13,7 @@ OPENSEADRAGON CHANGELOG
* Added optional zoom in the middle of the image instead of pointer position (#1423) * Added optional zoom in the middle of the image instead of pointer position (#1423)
* Now supporting square edge tiles that are padded rather than cropped (#1426) * Now supporting square edge tiles that are padded rather than cropped (#1426)
* Fixed an issue causing the simple image tileSource to sometimes show duplicate copies (#1370) * Fixed an issue causing the simple image tileSource to sometimes show duplicate copies (#1370)
* Fixed an issue causing seams to appear in semi-transparent PNG tiled images (#1470)
2.3.1: 2.3.1:

View File

@ -356,10 +356,10 @@ $.Tile.prototype = {
//clearing only the inside of the rectangle occupied //clearing only the inside of the rectangle occupied
//by the png prevents edge flikering //by the png prevents edge flikering
context.clearRect( context.clearRect(
position.x + 1, position.x,
position.y + 1, position.y,
size.x - 2, size.x,
size.y - 2 size.y
); );
} }