[escher] Move redraw method from App::didBecomeActive to

Container::switchTo

Change-Id: Ifa8bd2a37a754257d1f44d64b789f2efd25f96de
This commit is contained in:
Émilie Feral
2017-08-10 10:54:38 +02:00
parent 8b6dfdc3f9
commit 7f6ee28f4e
2 changed files with 1 additions and 1 deletions

View File

@@ -109,7 +109,6 @@ void App::didBecomeActive(Window * window) {
m_modalViewController.viewWillAppear();
window->setContentView(view);
setFirstResponder(&m_modalViewController);
window->redraw();
}
void App::willBecomeInactive() {

View File

@@ -27,6 +27,7 @@ void Container::switchTo(App::Snapshot * snapshot) {
}
if (m_activeApp) {
m_activeApp->didBecomeActive(window());
window()->redraw();
}
}