(e3)
| 879 | return 0 !== t3 && (this._optionsService.rawOptions.smoothScrollDuration ? (this._smoothScrollState.startTime = Date.now(), this._smoothScrollPercent() < 1 ? (this._smoothScrollState.origin = this._viewportElement.scrollTop, -1 === this._smoothScrollState.target ? this._smoothScrollState.target = this._viewportElement.scrollTop + t3 : this._smoothScrollState.target += t3, this._smoothScrollState.target = Math.max(Math.min(this._smoothScrollState.target, this._viewportElement.scrollHeight), 0), this._smoothScroll()) : this._clearSmoothScrollState()) : this._viewportElement.scrollTop += t3, this._bubbleScroll(e3, t3)); |
| 880 | } |
| 881 | scrollLines(e3) { |
| 882 | if (0 !== e3) if (this._optionsService.rawOptions.smoothScrollDuration) { |
| 883 | const t3 = e3 * this._currentRowHeight; |
| 884 | this._smoothScrollState.startTime = Date.now(), this._smoothScrollPercent() < 1 ? (this._smoothScrollState.origin = this._viewportElement.scrollTop, this._smoothScrollState.target = this._smoothScrollState.origin + t3, this._smoothScrollState.target = Math.max(Math.min(this._smoothScrollState.target, this._viewportElement.scrollHeight), 0), this._smoothScroll()) : this._clearSmoothScrollState(); |
| 885 | } else this._onRequestScrollLines.fire({ amount: e3, suppressScrollEvent: false }); |
| 886 | } |
| 887 | _getPixelsScrolled(e3) { |
| 888 | if (0 === e3.deltaY || e3.shiftKey) return 0; |
| 889 | let t3 = this._applyScrollModifier(e3.deltaY, e3); |
no test coverage detected