mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-07-07 02:26:03 +02:00
LCL: proper initialization of dragimagelist position in ShowDragImage manually. Issue #40640
This commit is contained in:
parent
092cae8ceb
commit
85aa06c1d8
@ -281,7 +281,7 @@ end;
|
|||||||
procedure TDragImageListResolution.ShowDragImage;
|
procedure TDragImageListResolution.ShowDragImage;
|
||||||
begin
|
begin
|
||||||
if Dragging then
|
if Dragging then
|
||||||
TWSDragImageListResolutionClass(WidgetSetClass).ShowDragImage(Self, 0, 0, 0, False);
|
TWSDragImageListResolutionClass(WidgetSetClass).ShowDragImage(Self, 0, FLastDragPos.X, FLastDragPos.Y, False);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
class procedure TDragImageListResolution.WSRegisterClass;
|
class procedure TDragImageListResolution.WSRegisterClass;
|
||||||
|
Loading…
Reference in New Issue
Block a user