mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps] Probability: fix scrolling in calculation cells
This commit is contained in:
committed by
EmilieNumworks
parent
5d8256435e
commit
2a207e59ac
@@ -211,6 +211,8 @@ bool CalculationController::textFieldDidHandleEvent(::TextField * textField, Ion
|
||||
* the first responder. */
|
||||
bool shouldUpdateFirstResponder = app()->firstResponder() == textField;
|
||||
m_selectableTableView.reloadData(shouldUpdateFirstResponder);
|
||||
// The textField frame might have increased which forces to reload the textField scroll
|
||||
textField->scrollToCursor();
|
||||
}
|
||||
return returnValue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user