You've already forked lazarus-ccr
fpspreadsheet: Fix cell borders painting over frozencols border line (https://forum.lazarus.freepascal.org/index.php/topic,55317.0.html).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8059 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -2668,13 +2668,13 @@ begin
|
||||
end;
|
||||
|
||||
// Left border
|
||||
if GetBorderStyle(ACol, ARow, -1, 0, ACell, bs) then
|
||||
if GetBorderStyle(ACol, ARow, -1, 0, ACell, bs) and (ACol <> FixedCols) then
|
||||
if IsRightToLeft then
|
||||
DrawBorderLine(ARect.Right, ARect, drawVert, bs)
|
||||
else
|
||||
DrawBorderLine(ARect.Left-ord(not IsRightToLeft), ARect, drawVert, bs);
|
||||
// Right border
|
||||
if GetBorderStyle(ACol, ARow, +1, 0, ACell, bs) then
|
||||
if GetBorderStyle(ACol, ARow, +1, 0, ACell, bs) and (ACol + 1 <> FixedCols) then
|
||||
if IsRightToLeft then
|
||||
DrawBorderLine(ARect.Left, ARect, drawVert, bs)
|
||||
else
|
||||
|
Reference in New Issue
Block a user