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 //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
); );
} }