(e3)
| 965 | return i3 && i3 > this._bufferService.cols && (t3.style.display = "none"), this._refreshXPosition(e3, t3), t3; |
| 966 | } |
| 967 | _refreshStyle(e3) { |
| 968 | const t3 = e3.marker.line - this._bufferService.buffers.active.ydisp; |
| 969 | if (t3 < 0 || t3 >= this._bufferService.rows) e3.element && (e3.element.style.display = "none", e3.onRenderEmitter.fire(e3.element)); |
| 970 | else { |
| 971 | let i3 = this._decorationElements.get(e3); |
| 972 | i3 || (i3 = this._createElement(e3), e3.element = i3, this._decorationElements.set(e3, i3), this._container.appendChild(i3), e3.onDispose((() => { |
| 973 | this._decorationElements.delete(e3), i3.remove(); |
| 974 | }))), i3.style.top = t3 * this._renderService.dimensions.css.cell.height + "px", i3.style.display = this._altBufferIsActive ? "none" : "block", e3.onRenderEmitter.fire(i3); |
| 975 | } |
| 976 | } |
| 977 | _refreshXPosition(e3, t3 = e3.element) { |
| 978 | if (!t3) return; |
| 979 | const i3 = e3.options.x ?? 0; |
no test coverage detected