mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[apps] Less operations in willExitResponderChain if exiting app
If nextFirstResponder is nullptr, it means we are exiting the app, so there is no need to relayout, reselect, ... We did it bbefore because a long time ago, we used to keep all apps side by side so they had to be thouroughly cleaned when exiting
This commit is contained in:
@@ -58,7 +58,9 @@ void SelectableTableView::didEnterResponderChain(Responder * previousFirstRespon
|
||||
}
|
||||
|
||||
void SelectableTableView::willExitResponderChain(Responder * nextFirstResponder) {
|
||||
unhighlightSelectedCell();
|
||||
if (nextFirstResponder != nullptr) {
|
||||
unhighlightSelectedCell();
|
||||
}
|
||||
}
|
||||
|
||||
void SelectableTableView::deselectTable(bool withinTemporarySelection) {
|
||||
|
||||
Reference in New Issue
Block a user