mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[code] Script editor and Console are stacked.
Before, they appeared in modal views. Change-Id: I42ea742370cd3cf0854965f67fc44b43db4cc309
This commit is contained in:
@@ -209,7 +209,7 @@ bool ConsoleController::textFieldDidFinishEditing(TextField * textField, const c
|
||||
}
|
||||
|
||||
bool ConsoleController::textFieldDidAbortEditing(TextField * textField, const char * text) {
|
||||
app()->dismissModalViewController();
|
||||
stackViewController()->pop();
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -298,4 +298,8 @@ int ConsoleController::firstNewLineCharIndex(const char * text, size_t length) {
|
||||
return index;
|
||||
}
|
||||
|
||||
StackViewController * ConsoleController::stackViewController() {
|
||||
return static_cast<StackViewController *>(parentResponder());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user