mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-20 14:20:39 +01:00
[poincare] NthRootLayout is now a BoundedStaticLayoutHierarchy.
It can now handle having an index or not (simple square root layout). Change-Id: I7a3795c62873fa0a356719b8d572dd5a5be53c94
This commit is contained in:
@@ -118,7 +118,7 @@ ExpressionLayout * Controller::handleAddEvent(Ion::Events::Event event) {
|
||||
return m_cursor.addEmptyPowerLayout();
|
||||
}
|
||||
if (event == Ion::Events::Sqrt) {
|
||||
return m_cursor.addEmptyRootLayout();
|
||||
return m_cursor.addEmptySquareRootLayout();
|
||||
}
|
||||
if (event == Ion::Events::Square) {
|
||||
return m_cursor.addEmptySquarePowerLayout();
|
||||
|
||||
Reference in New Issue
Block a user