mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 10:19:36 +02:00
MG: reduced DesignerForm invalidates (changes from Jesus Reyes)
git-svn-id: trunk@1969 -
This commit is contained in:
parent
fb47c94ac2
commit
7b96e8ac2f
@ -688,10 +688,12 @@ begin
|
||||
ControlSelection.SaveBounds;
|
||||
FHasSized:=true;
|
||||
end;
|
||||
ControlSelection.MoveSelectionWithSnapping(
|
||||
LastMouseMovePos.X-MouseDownPos.X,LastMouseMovePos.Y-MouseDownPos.Y);
|
||||
if Assigned(OnModified) then OnModified(Self);
|
||||
FCustomForm.Invalidate;
|
||||
if ControlSelection.MoveSelectionWithSnapping(
|
||||
LastMouseMovePos.X-MouseDownPos.X,LastMouseMovePos.Y-MouseDownPos.Y)
|
||||
then begin
|
||||
if Assigned(OnModified) then OnModified(Self);
|
||||
FCustomForm.Invalidate;
|
||||
end;
|
||||
end
|
||||
else
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user