You've already forked lazarus-ccr
* Fix GetHitTestInfoAt when the header is visible
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@917 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -27023,10 +27023,11 @@ begin
|
||||
if X > Max(FRangeX, ClientWidth) then
|
||||
Include(HitInfo.HitPositions, hiToRight);
|
||||
|
||||
//lclheader
|
||||
if Y < 0 then
|
||||
Include(HitInfo.HitPositions, hiAbove)
|
||||
else
|
||||
if Y > Max(FRangeY, ClientHeight) then
|
||||
if Y > Max(FRangeY, inherited GetClientRect.Bottom) then
|
||||
Include(HitInfo.HitPositions, hiBelow);
|
||||
|
||||
// Convert position into absolute coordinate if necessary.
|
||||
|
Reference in New Issue
Block a user