mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-22 15:20:39 +01:00
[expression_editor] Collapse brothers when adding a fraction.
Change-Id: I4d75fae152fca4a6671abd1e444f6aaa27c168b5
This commit is contained in:
@@ -106,7 +106,7 @@ bool Controller::handleMoveEvent(Ion::Events::Event event) {
|
||||
|
||||
ExpressionLayout * Controller::handleAddEvent(Ion::Events::Event event) {
|
||||
if (event == Ion::Events::Division) {
|
||||
return m_cursor.addEmptyFractionLayout();
|
||||
return m_cursor.addFractionLayoutAndCollapseBrothers();
|
||||
}
|
||||
if (event == Ion::Events::XNT) {
|
||||
return m_cursor.addXNTCharLayout();
|
||||
|
||||
Reference in New Issue
Block a user