mirror of
https://github.com/edubart/otclient.git
synced 2025-10-19 14:03:26 +02:00
clean containers when relogging
This commit is contained in:
@@ -1300,10 +1300,10 @@ void UIWidget::onGeometryChange(const Rect& oldRect, const Rect& newRect)
|
||||
updateText();
|
||||
|
||||
// move children that is outside the parent rect to inside again
|
||||
//for(const UIWidgetPtr& child : m_children) {
|
||||
//if(!child->isAnchored())
|
||||
//child->bindRectToParent();
|
||||
//}
|
||||
for(const UIWidgetPtr& child : m_children) {
|
||||
if(!child->isAnchored())
|
||||
child->bindRectToParent();
|
||||
}
|
||||
}
|
||||
|
||||
void UIWidget::onLayoutUpdate()
|
||||
|
Reference in New Issue
Block a user