mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 01:48:03 +02:00
Improve examples/DragImageList. Issue #20164, patch from Flávio Etrusco
git-svn-id: trunk@32356 -
This commit is contained in:
parent
ae9dead608
commit
5cae5f037f
@ -95,7 +95,7 @@ begin
|
||||
FDragImages.Width := Bitmap.Width;
|
||||
FDragImages.Height := Bitmap.Height;
|
||||
FDragImages.Add(Bitmap, nil);
|
||||
FDragImages.DragHotspot := Point(Bitmap.Width, Bitmap.Height);
|
||||
FDragImages.DragHotspot := Point(Bitmap.Width div 2, Bitmap.Height div 2);
|
||||
Bitmap.Free;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user