mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 05:58:15 +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;
|
||||
begin
|
||||
if Dragging then
|
||||
TWSDragImageListResolutionClass(WidgetSetClass).ShowDragImage(Self, 0, 0, 0, False);
|
||||
TWSDragImageListResolutionClass(WidgetSetClass).ShowDragImage(Self, 0, FLastDragPos.X, FLastDragPos.Y, False);
|
||||
end;
|
||||
|
||||
class procedure TDragImageListResolution.WSRegisterClass;
|
||||
|
Loading…
Reference in New Issue
Block a user