mirror of
https://github.com/edubart/otclient.git
synced 2025-10-20 06:23:26 +02:00
fix death issues, improve text messages
This commit is contained in:
@@ -487,7 +487,7 @@ void UIWidget::bindRectToParent()
|
||||
UIWidgetPtr parent = getParent();
|
||||
if(parent) {
|
||||
Rect parentRect = parent->getRect();
|
||||
boundRect.bound(parentRect);
|
||||
boundRect.bind(parentRect);
|
||||
}
|
||||
|
||||
setRect(boundRect);
|
||||
|
Reference in New Issue
Block a user