Changes to add child

This commit is contained in:
Lars Brubaker 2020-06-05 12:16:37 -07:00
parent c31b6e0114
commit f2e2d54628
9 changed files with 21 additions and 21 deletions

View file

@ -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);
}
}
}