LCL, fix grid cursor disappearing on scrolling up/left when toprow/leftcol>=fixedRow/fixedcolcol, issue #18243

git-svn-id: trunk@29202 -
This commit is contained in:
jesus 2011-01-25 19:49:33 +00:00
parent 3168fd2e6e
commit 0bb3877d59

View File

@ -3119,7 +3119,7 @@ begin
RNew.Right := FlipX(RNew.Right);
Xinc := 0;
if RNew.Right <= FGCache.FixedWidth then
if RNew.Right <= FGCache.FixedWidth+GetBorderWidth then
Xinc := -1 // hidden at the left of fixedwidth line
else
if RNew.Left >= CWidth then
@ -3132,7 +3132,7 @@ begin
end;
Yinc := 0;
if RNew.Bottom <= FGCache.FixedHeight then
if RNew.Bottom <= FGCache.FixedHeight+GetBorderWidth then
Yinc := -1 // hidden at the top of fixedheight line
else
if (RNew.Top >= CHeight) then