mirror of
https://github.com/edubart/otclient.git
synced 2025-11-07 13:56:22 +01:00
Refactor for documentation
This commit is contained in:
@@ -119,7 +119,7 @@ bool UIGridLayout::internalUpdate()
|
||||
|
||||
if(m_fitChildren && preferredHeight != parentWidget->getHeight()) {
|
||||
// must set the preferred height later
|
||||
g_eventDispatcher.addEvent([=] {
|
||||
g_dispatcher.addEvent([=] {
|
||||
parentWidget->setHeight(preferredHeight);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user