From bd8e8a9e7f84cb11a7a3055f691d9f7b7b0cef44 Mon Sep 17 00:00:00 2001 From: Tom Date: Wed, 30 Nov 2022 16:48:04 -0500 Subject: [PATCH] add line spacing --- src/viewport.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/viewport.js b/src/viewport.js index 2df47df9..8d511602 100644 --- a/src/viewport.js +++ b/src/viewport.js @@ -533,6 +533,7 @@ $.Viewport.prototype = { } else { horizontalThreshold = this.visibilityRatio * newBounds.width; } + leftDx = this._contentBoundsNoRotate.x - boundsRight + horizontalThreshold; rightDx = contentRight - newBounds.x - horizontalThreshold; if (horizontalThreshold > this._contentBoundsNoRotate.width) {