fin-hypergrid
Advanced tools
Comparing version 2.1.9 to 2.1.10
{ | ||
"name": "fin-hypergrid", | ||
"version": "2.1.9", | ||
"version": "2.1.10", | ||
"description": "Canvas-based high-performance grid", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -859,3 +859,4 @@ /* eslint-env browser */ | ||
var gridLinesVWidth = gridProps.gridLinesVWidth, | ||
top = gridProps.gridLinesColumnHeader ? 0 : visibleRows[this.grid.getHeaderRowCount()].top, | ||
userDataAreaTop = visibleRows[this.grid.getHeaderRowCount()].top, | ||
top = gridProps.gridLinesColumnHeader ? 0 : userDataAreaTop, | ||
bottom = gridProps.gridLinesUserDataArea ? viewHeight : visibleRows[this.grid.getHeaderRowCount() - 1].bottom; | ||
@@ -872,5 +873,9 @@ | ||
lineTop = Math.max(top, vc.top || 0), // vc.top may be set by grouped headers plug-in | ||
height = bottom - lineTop; | ||
height = Math.min(bottom, vc.bottom || Infinity) - lineTop; | ||
if (borderBox) { x -= gridLinesVWidth; } | ||
gc.fillRect(x, lineTop, gridLinesVWidth, height); | ||
if (gridProps.gridLinesUserDataArea && vc.bottom < userDataAreaTop) { | ||
gc.fillRect(x, userDataAreaTop, gridLinesVWidth, bottom - userDataAreaTop); | ||
} | ||
} | ||
@@ -877,0 +882,0 @@ }); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
724883
18357