mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 23:50:25 +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;
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user