Merge pull request #1470 from Dvidan/bug/overlap_transparent

Transparent image overlap when using Overlap=0 in dzi
This commit is contained in:
Ian Gilman 2018-06-04 16:01:57 -07:00 committed by GitHub
commit c3b9293036
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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