mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-26 07:06:10 +03:00
add line spacing
This commit is contained in:
parent
5aa5d7ad56
commit
bd8e8a9e7f
@ -533,6 +533,7 @@ $.Viewport.prototype = {
|
|||||||
} else {
|
} else {
|
||||||
horizontalThreshold = this.visibilityRatio * newBounds.width;
|
horizontalThreshold = this.visibilityRatio * newBounds.width;
|
||||||
}
|
}
|
||||||
|
|
||||||
leftDx = this._contentBoundsNoRotate.x - boundsRight + horizontalThreshold;
|
leftDx = this._contentBoundsNoRotate.x - boundsRight + horizontalThreshold;
|
||||||
rightDx = contentRight - newBounds.x - horizontalThreshold;
|
rightDx = contentRight - newBounds.x - horizontalThreshold;
|
||||||
if (horizontalThreshold > this._contentBoundsNoRotate.width) {
|
if (horizontalThreshold > this._contentBoundsNoRotate.width) {
|
||||||
|
Loading…
Reference in New Issue
Block a user