()
| 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); |
| 1071 | c.left = t3, c.center = t3, c.right = t3; |
| 1072 | } |
| 1073 | _refreshColorZonePadding() { |
| 1074 | this._colorZoneStore.setPadding({ full: Math.floor(this._bufferService.buffers.active.lines.length / (this._canvas.height - 1) * c.full), left: Math.floor(this._bufferService.buffers.active.lines.length / (this._canvas.height - 1) * c.left), center: Math.floor(this._bufferService.buffers.active.lines.length / (this._canvas.height - 1) * c.center), right: Math.floor(this._bufferService.buffers.active.lines.length / (this._canvas.height - 1) * c.right) }), this._lastKnownBufferLength = this._bufferService.buffers.normal.lines.length; |
| 1075 | } |
no test coverage detected