mirror of
https://github.com/edubart/otclient.git
synced 2025-10-24 16:25:03 +02:00
Fix UIWidget::propagateOnMouseMove repeatedly adding the mouse receiver to the list (#1195)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user