Changes to add child
This commit is contained in:
parent
c31b6e0114
commit
f2e2d54628
9 changed files with 21 additions and 21 deletions
|
|
@ -19,7 +19,7 @@ namespace Markdig.Renderers.Agg
|
|||
this.RowPadding = new BorderDouble(0, 3);
|
||||
}
|
||||
|
||||
public override void AddChild(GuiWidget childToAdd, int indexInChildrenList = -1)
|
||||
public override GuiWidget AddChild(GuiWidget childToAdd, int indexInChildrenList = -1)
|
||||
{
|
||||
if (childToAdd is TextWidget textWidget)
|
||||
{
|
||||
|
|
@ -37,7 +37,7 @@ namespace Markdig.Renderers.Agg
|
|||
}
|
||||
}
|
||||
|
||||
base.AddChild(childToAdd, indexInChildrenList);
|
||||
return base.AddChild(childToAdd, indexInChildrenList);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue