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

@ -20,7 +20,7 @@ namespace Markdig.Renderers.Agg.Inlines
this.delimiter = delimiter;
}
public override void AddChild(GuiWidget childToAdd, int indexInChildrenList = -1)
public override GuiWidget AddChild(GuiWidget childToAdd, int indexInChildrenList = -1)
{
if (childToAdd is TextWidget textWidget)
{
@ -42,7 +42,7 @@ namespace Markdig.Renderers.Agg.Inlines
}
}
base.AddChild(childToAdd, indexInChildrenList);
return base.AddChild(childToAdd, indexInChildrenList);
}
}