mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-04-04 14:23:32 +03:00
edge smoothing fix for Mac
This commit is contained in:
parent
7406727090
commit
9922d2a4bb
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue