()
| 1062 | }))), this.register(this._optionsService.onSpecificOptionChange("overviewRulerWidth", (() => this._queueRefresh(true)))), this.register(this._coreBrowserService.onDprChange((() => this._queueRefresh(true)))), this._queueRefresh(true); |
| 1063 | } |
| 1064 | _refreshDrawConstants() { |
| 1065 | const e3 = Math.floor(this._canvas.width / 3), t3 = Math.ceil(this._canvas.width / 3); |
| 1066 | l.full = this._canvas.width, l.left = e3, l.center = t3, l.right = e3, this._refreshDrawHeightConstants(), d.full = 0, d.left = 0, d.center = l.left, d.right = l.left + l.center; |
| 1067 | } |
| 1068 | _refreshDrawHeightConstants() { |
| 1069 | c.full = Math.round(2 * this._coreBrowserService.dpr); |
| 1070 | const e3 = this._canvas.height / this._bufferService.buffer.lines.length, t3 = Math.round(Math.max(Math.min(e3, 12), 6) * this._coreBrowserService.dpr); |
no test coverage detected