| 2096 | if (t3) return t3[0]--, t3[1]--, t3[1] += this._bufferService.buffer.ydisp, t3; |
| 2097 | } |
| 2098 | _getMouseEventScrollAmount(e3) { |
| 2099 | let t3 = (0, n.getCoordsRelativeToElement)(this._coreBrowserService.window, e3, this._screenElement)[1]; |
| 2100 | const i3 = this._renderService.dimensions.css.canvas.height; |
| 2101 | return t3 >= 0 && t3 <= i3 ? 0 : (t3 > i3 && (t3 -= i3), t3 = Math.min(Math.max(t3, -50), 50), t3 /= 50, t3 / Math.abs(t3) + Math.round(14 * t3)); |
| 2102 | } |
| 2103 | shouldForceSelection(e3) { |
| 2104 | return d.isMac ? e3.altKey && this._optionsService.rawOptions.macOptionClickForcesSelection : e3.shiftKey; |
| 2105 | } |