(e3, t3)
| 1916 | }))), this.register(i3.onMultipleOptionChange(["cursorBlink", "cursorStyle"], (() => this.refreshRows(o2.buffer.y, o2.buffer.y, true)))), this.register(d2.onChangeColors((() => this._fullRefresh()))), this._registerIntersectionObserver(l2.window, t3), this.register(l2.onWindowChange(((e4) => this._registerIntersectionObserver(e4, t3)))); |
| 1917 | } |
| 1918 | _registerIntersectionObserver(e3, t3) { |
| 1919 | if ("IntersectionObserver" in e3) { |
| 1920 | const i3 = new e3.IntersectionObserver(((e4) => this._handleIntersectionChange(e4[e4.length - 1])), { threshold: 0 }); |
| 1921 | i3.observe(t3), this._observerDisposable.value = (0, h.toDisposable)((() => i3.disconnect())); |
| 1922 | } |
| 1923 | } |
| 1924 | _handleIntersectionChange(e3) { |
| 1925 | this._isPaused = void 0 === e3.isIntersecting ? 0 === e3.intersectionRatio : !e3.isIntersecting, this._isPaused || this._charSizeService.hasValidSize || this._charSizeService.measure(), !this._isPaused && this._needsFullRefresh && (this._pausedResizeTask.flush(), this.refreshRows(0, this._rowCount - 1), this._needsFullRefresh = false); |
| 1926 | } |
no test coverage detected