Merge pull request #3082 from Tyriar/3080_selection_canvas

Fix last/first line of selection sometimes not drawing
This commit is contained in:
Daniel Imms
2020-09-07 09:57:58 -07:00
committed by GitHub
@@ -75,6 +75,7 @@ export class SelectionRenderLayer extends BaseRenderLayer {
// No need to draw the selection
if (viewportCappedStartRow >= this._bufferService.rows || viewportCappedEndRow < 0) {
this._state.ydisp = this._bufferService.buffer.ydisp;
return;
}