mirror of
https://github.com/edubart/otclient.git
synced 2025-12-23 00:27:12 +01:00
improvments in widgets initialization
This commit is contained in:
@@ -32,7 +32,6 @@ void UIManager::init()
|
||||
{
|
||||
// creates root widget
|
||||
m_rootWidget = UIWidget::create<UIWidget>();
|
||||
m_rootWidget->setup();
|
||||
m_rootWidget->setId("root");
|
||||
m_rootWidget->resize(g_graphics.getScreenSize());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user