(e3)
| 2104 | return d.isMac ? e3.altKey && this._optionsService.rawOptions.macOptionClickForcesSelection : e3.shiftKey; |
| 2105 | } |
| 2106 | handleMouseDown(e3) { |
| 2107 | if (this._mouseDownTimeStamp = e3.timeStamp, (2 !== e3.button || !this.hasSelection) && 0 === e3.button) { |
| 2108 | if (!this._enabled) { |
| 2109 | if (!this.shouldForceSelection(e3)) return; |
| 2110 | e3.stopPropagation(); |
| 2111 | } |
| 2112 | e3.preventDefault(), this._dragScrollAmount = 0, this._enabled && e3.shiftKey ? this._handleIncrementalClick(e3) : 1 === e3.detail ? this._handleSingleClick(e3) : 2 === e3.detail ? this._handleDoubleClick(e3) : 3 === e3.detail && this._handleTripleClick(e3), this._addMouseDownListeners(), this.refresh(true); |
| 2113 | } |
| 2114 | } |
| 2115 | _addMouseDownListeners() { |
| 2116 | this._screenElement.ownerDocument && (this._screenElement.ownerDocument.addEventListener("mousemove", this._mouseMoveListener), this._screenElement.ownerDocument.addEventListener("mouseup", this._mouseUpListener)), this._dragScrollIntervalTimer = this._coreBrowserService.window.setInterval((() => this._dragScroll()), 50); |
| 2117 | } |
no test coverage detected