add line spacing

This commit is contained in:
Tom 2022-11-30 16:48:04 -05:00
parent 5aa5d7ad56
commit bd8e8a9e7f

View File

@ -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) {