mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 13:16:10 +03:00
edge smoothing fix for Mac
This commit is contained in:
parent
7406727090
commit
9922d2a4bb
@ -356,6 +356,7 @@ $.Tile.prototype = /** @lends OpenSeadragon.Tile.prototype */{
|
||||
// to the main canvas. And FF does not like it. It crashes the viewer.
|
||||
return new $.Point(1, 1).minus(
|
||||
this.position
|
||||
.times($.pixelDensityRatio)
|
||||
.times(scale || 1)
|
||||
.apply(function(x) {
|
||||
return x % 1;
|
||||
|
Loading…
Reference in New Issue
Block a user