Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

Commit

Permalink
fix(blank border position): fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DR-Univer committed Aug 30, 2020
1 parent c430d66 commit d285d9f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/global/draw.js
Original file line number Diff line number Diff line change
Expand Up @@ -1142,11 +1142,11 @@ let nullCellRender = function(r, c, start_r, start_c, end_r, end_c,luckysheetTab
luckysheetTableContent.beginPath();
luckysheetTableContent.moveTo(
(end_c + offsetLeft - 2 + bodrder05),
(start_r + offsetTop - 2)
(start_r + offsetTop)
);
luckysheetTableContent.lineTo(
(end_c + offsetLeft - 2 + bodrder05),
(end_r + offsetTop - 2)
(end_r + offsetTop)
);
luckysheetTableContent.lineWidth = 1;

Expand All @@ -1160,11 +1160,11 @@ let nullCellRender = function(r, c, start_r, start_c, end_r, end_c,luckysheetTab
if(!Store.luckysheetcurrentisPivotTable && !fillStyle && Store.showGridLines){
luckysheetTableContent.beginPath();
luckysheetTableContent.moveTo(
(start_c + offsetLeft - 2),
(start_c + offsetLeft - 1),
(end_r + offsetTop - 2 + bodrder05)
);
luckysheetTableContent.lineTo(
(end_c + offsetLeft - 2),
(end_c + offsetLeft - 1),
(end_r + offsetTop - 2 + bodrder05)
);
luckysheetTableContent.lineWidth = 1;
Expand Down Expand Up @@ -1993,11 +1993,11 @@ let cellRender = function(r, c, start_r, start_c, end_r, end_c, value, luckyshee
luckysheetTableContent.beginPath();
luckysheetTableContent.moveTo(
(end_c + offsetLeft - 2 + bodrder05),
(start_r + offsetTop - 2)
(start_r + offsetTop)
);
luckysheetTableContent.lineTo(
(end_c + offsetLeft - 2 + bodrder05),
(end_r + offsetTop - 2)
(end_r + offsetTop)
);
luckysheetTableContent.lineWidth = 1;
luckysheetTableContent.strokeStyle = luckysheetdefaultstyle.strokeStyle;
Expand All @@ -2010,11 +2010,11 @@ let cellRender = function(r, c, start_r, start_c, end_r, end_c, value, luckyshee
if(!Store.luckysheetcurrentisPivotTable && !fillStyle && Store.showGridLines){
luckysheetTableContent.beginPath();
luckysheetTableContent.moveTo(
(start_c + offsetLeft - 2),
(start_c + offsetLeft - 1),
(end_r + offsetTop - 2 + bodrder05)
);
luckysheetTableContent.lineTo(
(end_c + offsetLeft - 2),
(end_c + offsetLeft - 1),
(end_r + offsetTop - 2 + bodrder05)
);
luckysheetTableContent.lineWidth = 1;
Expand Down

0 comments on commit d285d9f

Please sign in to comment.