mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 10:18:05 +02:00
Examples: dragimagelist, partially reverted r32356 #5cae5f037f (juha), since it breaks example with qt and gtk2 (it does not work anymore). Now it's correct.
git-svn-id: trunk@35180 -
This commit is contained in:
parent
f9cbf1d9f7
commit
311b8e0ab1
@ -95,7 +95,7 @@ begin
|
||||
FDragImages.Width := Bitmap.Width;
|
||||
FDragImages.Height := Bitmap.Height;
|
||||
FDragImages.Add(Bitmap, nil);
|
||||
FDragImages.DragHotspot := Point(Bitmap.Width div 2, Bitmap.Height div 2);
|
||||
FDragImages.DragHotspot := Point(Bitmap.Width, Bitmap.Height);
|
||||
Bitmap.Free;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user