mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-25 16:50:50 +01:00
[escher] Move redraw method from App::didBecomeActive to
Container::switchTo Change-Id: Ifa8bd2a37a754257d1f44d64b789f2efd25f96de
This commit is contained in:
@@ -109,7 +109,6 @@ void App::didBecomeActive(Window * window) {
|
||||
m_modalViewController.viewWillAppear();
|
||||
window->setContentView(view);
|
||||
setFirstResponder(&m_modalViewController);
|
||||
window->redraw();
|
||||
}
|
||||
|
||||
void App::willBecomeInactive() {
|
||||
|
||||
@@ -27,6 +27,7 @@ void Container::switchTo(App::Snapshot * snapshot) {
|
||||
}
|
||||
if (m_activeApp) {
|
||||
m_activeApp->didBecomeActive(window());
|
||||
window()->redraw();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user