IDE: designer: fixed store selection bounds for mediator, patch from Anton

git-svn-id: trunk@56281 -
This commit is contained in:
mattias 2017-11-04 14:54:43 +00:00
parent 6dc2571a4c
commit 50a915579e

View File

@ -759,6 +759,7 @@ begin
FOldWidth:=r.Right-r.Left;
FOldHeight:=r.Bottom-r.Top;
end;
FOldFormRelativeLeftTop:=Owner.Mediator.GetComponentOriginOnForm(TComponent(FPersistent));
end else begin
GetComponentBounds(TComponent(FPersistent),
FOldLeft,FOldTop,FOldWidth,FOldHeight);