mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-22 07:10:40 +01:00
Revert "[poincare] Rename addChildTreeAtIndex -> addChildAtIndex"
This reverts commit afd01f34e1.
This commit is contained in:
@@ -422,7 +422,7 @@ T IntegerNode::templatedApproximate() const {
|
||||
LayoutRef IntegerNode::createLayout(Preferences::PrintFloatMode floatDisplayMode, int numberOfSignificantDigits) const {
|
||||
LayoutRef naturalLayout = NaturalIntegerAbstract::createLayout();
|
||||
if (m_negative) {
|
||||
naturalLayout.addChildAtIndex(CharLayoutRef('-'), 0, naturalLayout.numberOfChildren(), nullptr);
|
||||
naturalLayout.addChildTreeAtIndex(CharLayoutRef('-'), 0, naturalLayout.numberOfChildren(), nullptr);
|
||||
}
|
||||
return naturalLayout;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user