@lensui/lens-table 0.1.20 → 0.1.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1414,7 +1414,7 @@ function paintGrid(options) {
|
|
|
1414
1414
|
const borderLeft = x <= 0 ? 0 : Math.max(x - borderWidth, visibleLeft);
|
|
1415
1415
|
const borderRight = Math.min(x + selectionWidth - 1, selectionAreaRight - borderWidth, width - borderWidth);
|
|
1416
1416
|
const borderTop = Math.max(y - borderWidth, selectionClipTop);
|
|
1417
|
-
const borderBottom = Math.min(y + selectionHeight
|
|
1417
|
+
const borderBottom = Math.min(y + selectionHeight, height - borderWidth);
|
|
1418
1418
|
const borderOuterWidth = borderRight + borderWidth - borderLeft;
|
|
1419
1419
|
ctx.fillRect(borderLeft, borderTop, borderOuterWidth, borderWidth);
|
|
1420
1420
|
ctx.fillRect(borderLeft, borderBottom, borderOuterWidth, borderWidth);
|
package/dist/index.js
CHANGED
|
@@ -1384,7 +1384,7 @@ function paintGrid(options) {
|
|
|
1384
1384
|
const borderLeft = x <= 0 ? 0 : Math.max(x - borderWidth, visibleLeft);
|
|
1385
1385
|
const borderRight = Math.min(x + selectionWidth - 1, selectionAreaRight - borderWidth, width - borderWidth);
|
|
1386
1386
|
const borderTop = Math.max(y - borderWidth, selectionClipTop);
|
|
1387
|
-
const borderBottom = Math.min(y + selectionHeight
|
|
1387
|
+
const borderBottom = Math.min(y + selectionHeight, height - borderWidth);
|
|
1388
1388
|
const borderOuterWidth = borderRight + borderWidth - borderLeft;
|
|
1389
1389
|
ctx.fillRect(borderLeft, borderTop, borderOuterWidth, borderWidth);
|
|
1390
1390
|
ctx.fillRect(borderLeft, borderBottom, borderOuterWidth, borderWidth);
|