mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-30 12:10:03 +02:00
[escher] Fix bug in layout in modal view controller
Change-Id: Icd1d960db4989faae12212ca254354483df7811f
This commit is contained in:
@@ -19,7 +19,6 @@ ModalViewController::ContentView::ContentView() :
|
||||
void ModalViewController::ContentView::setMainView(View * regularView) {
|
||||
if (m_regularView != regularView) {
|
||||
m_regularView = regularView;
|
||||
layoutSubviews();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -165,6 +164,7 @@ void ModalViewController::loadView() {
|
||||
}
|
||||
m_regularViewController->loadView();
|
||||
m_contentView.setMainView(m_regularViewController->view());
|
||||
m_contentView.layoutSubviews();
|
||||
}
|
||||
|
||||
void ModalViewController::unloadView() {
|
||||
|
||||
Reference in New Issue
Block a user