Fix bug in column selection rendering

Fixes #1593
This commit is contained in:
Daniel Imms
2018-07-31 10:56:37 -07:00
parent 05f136b3da
commit d8eedfa1c7
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ export class SelectionRenderLayer extends BaseRenderLayer {
this._ctx.fillStyle = this._colors.selection.css;
if (columnSelectMode) {
const startCol = viewportStartRow === viewportCappedStartRow ? start[0] : 0;
const startCol = start[0];
const width = end[0] - startCol;
const height = viewportCappedEndRow - viewportCappedStartRow + 1;
this.fillCells(startCol, viewportCappedStartRow, width, height);