mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-12 10:40:40 +01:00
IDE: designer: fixed store selection bounds for mediator, patch from Anton
git-svn-id: trunk@56281 -
This commit is contained in:
parent
6dc2571a4c
commit
50a915579e
@ -759,6 +759,7 @@ begin
|
|||||||
FOldWidth:=r.Right-r.Left;
|
FOldWidth:=r.Right-r.Left;
|
||||||
FOldHeight:=r.Bottom-r.Top;
|
FOldHeight:=r.Bottom-r.Top;
|
||||||
end;
|
end;
|
||||||
|
FOldFormRelativeLeftTop:=Owner.Mediator.GetComponentOriginOnForm(TComponent(FPersistent));
|
||||||
end else begin
|
end else begin
|
||||||
GetComponentBounds(TComponent(FPersistent),
|
GetComponentBounds(TComponent(FPersistent),
|
||||||
FOldLeft,FOldTop,FOldWidth,FOldHeight);
|
FOldLeft,FOldTop,FOldWidth,FOldHeight);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user