mirror of
https://github.com/edubart/otclient.git
synced 2025-12-13 20:39:46 +01: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