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:
@@ -85,7 +85,7 @@ bool UIHorizontalLayout::internalUpdate()
|
||||
|
||||
if(m_fitChildren && preferredWidth != parentWidget->getWidth()) {
|
||||
// must set the preferred width later
|
||||
g_eventDispatcher.addEvent([=] {
|
||||
g_dispatcher.addEvent([=] {
|
||||
parentWidget->setWidth(preferredWidth);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user