mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-06 13:47:41 +01:00
designer: cleanup
git-svn-id: trunk@22835 -
This commit is contained in:
parent
1d9513d837
commit
271c760dc1
@ -2898,15 +2898,10 @@ var
|
|||||||
IconRect, TextRect: TRect;
|
IconRect, TextRect: TRect;
|
||||||
TextSize: TSize;
|
TextSize: TSize;
|
||||||
IsSelected: Boolean;
|
IsSelected: Boolean;
|
||||||
Root: TComponent;
|
|
||||||
begin
|
begin
|
||||||
// also call draw for the inline components
|
// also call draw for the inline components children
|
||||||
if csInline in AComponent.ComponentState then
|
if csInline in AComponent.ComponentState then
|
||||||
begin
|
TComponentAccess(AComponent).GetChildren(@DrawNonVisualComponent, AComponent);
|
||||||
Root := AComponent;
|
|
||||||
TComponentAccess(AComponent).GetChildren(@DrawNonVisualComponent, Root);
|
|
||||||
end else
|
|
||||||
Root := FLookupRoot;
|
|
||||||
|
|
||||||
if not ComponentIsIcon(AComponent) then
|
if not ComponentIsIcon(AComponent) then
|
||||||
Exit;
|
Exit;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user