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; ControlSelection.SaveBounds;
FHasSized:=true; FHasSized:=true;
end; end;
ControlSelection.MoveSelectionWithSnapping( if ControlSelection.MoveSelectionWithSnapping(
LastMouseMovePos.X-MouseDownPos.X,LastMouseMovePos.Y-MouseDownPos.Y); LastMouseMovePos.X-MouseDownPos.X,LastMouseMovePos.Y-MouseDownPos.Y)
if Assigned(OnModified) then OnModified(Self); then begin
FCustomForm.Invalidate; if Assigned(OnModified) then OnModified(Self);
FCustomForm.Invalidate;
end;
end end
else else
begin begin