mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-12 17:39:18 +02:00
LCL: grids: don't reset offset when start col/row dragging
git-svn-id: trunk@52819 -
This commit is contained in:
parent
2e76894327
commit
f2755c401f
@ -5603,7 +5603,6 @@ begin
|
|||||||
if (Abs(ClickMouse.X-X)>FDragDX) and (Cursor<>crMultiDrag) then begin
|
if (Abs(ClickMouse.X-X)>FDragDX) and (Cursor<>crMultiDrag) then begin
|
||||||
ChangeCursor(crMultiDrag);
|
ChangeCursor(crMultiDrag);
|
||||||
FMoveLast:=Point(-1,-1);
|
FMoveLast:=Point(-1,-1);
|
||||||
ResetOffset(True, False);
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
if (Cursor=crMultiDrag) and
|
if (Cursor=crMultiDrag) and
|
||||||
@ -5639,7 +5638,6 @@ begin
|
|||||||
if (Cursor<>crMultiDrag) and (Abs(ClickMouse.Y-Y)>FDragDX) then begin
|
if (Cursor<>crMultiDrag) and (Abs(ClickMouse.Y-Y)>FDragDX) then begin
|
||||||
ChangeCursor(crMultiDrag);
|
ChangeCursor(crMultiDrag);
|
||||||
FMoveLast:=Point(-1,-1);
|
FMoveLast:=Point(-1,-1);
|
||||||
ResetOffset(False, True);
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
if (Cursor=crMultiDrag)and
|
if (Cursor=crMultiDrag)and
|
||||||
|
Loading…
Reference in New Issue
Block a user