MG: reduced DesignerForm invalidates (changes from Jesus Reyes)

git-svn-id: trunk@1969 -
This commit is contained in:
lazarus 2002-08-17 23:40:27 +00:00
parent fb47c94ac2
commit 7b96e8ac2f

View File

@ -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