mirror of
https://github.com/edubart/otclient.git
synced 2025-05-02 10:39:21 +02:00
Fix UIWidget::propagateOnMouseMove repeatedly adding the mouse receiver to the list (#1195)
This commit is contained in:
parent
77c844d006
commit
da4bb92c33
@ -1717,9 +1717,9 @@ bool UIWidget::propagateOnMouseMove(const Point& mousePos, const Point& mouseMov
|
||||
if(child->isExplicitlyVisible() && child->isExplicitlyEnabled() && child->containsPoint(mousePos))
|
||||
child->propagateOnMouseMove(mousePos, mouseMoved, widgetList);
|
||||
|
||||
widgetList.push_back(static_self_cast<UIWidget>());
|
||||
}
|
||||
}
|
||||
|
||||
widgetList.push_back(static_self_cast<UIWidget>());
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user