[apps/code] Hide the sandbox between script importations

This commit is contained in:
Léa Saviot
2019-02-05 16:15:41 +01:00
committed by EmilieNumworks
parent 4a8c0a6bd0
commit a021af46fe
5 changed files with 20 additions and 0 deletions

View File

@@ -20,6 +20,10 @@ void SandboxController::reset() {
redrawWindow();
}
void SandboxController::hide() {
stackViewController()->pop();
}
void SandboxController::viewWillAppear() {
assert(m_executionEnvironment != nullptr);
m_executionEnvironment->setSandboxIsDisplayed(true);