fix too agressive canonicalization

This commit is contained in:
Elie Roux 2019-03-14 16:10:28 +01:00
parent 661fef19b5
commit e4987f9701

View File

@ -365,7 +365,7 @@ $.extend( $.IIIFTileSource.prototype, $.TileSource.prototype, /** @lends OpenSea
iiifQuality = "default." + this.usedFormat; iiifQuality = "default." + this.usedFormat;
} }
if ( levelWidth < tileWidth && levelHeight < tileHeight ){ if ( levelWidth < tileWidth && levelHeight < tileHeight ){
if (isv1) { if ( isv1 || levelWidth != this.width ) {
iiifSize = levelWidth + ","; iiifSize = levelWidth + ",";
} else { } else {
iiifSize = "max"; iiifSize = "max";