mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 19:44:54 +02:00
fix issue on onMouseRelease
This commit is contained in:
@@ -1500,7 +1500,7 @@ bool UIWidget::propagateOnMouseRelease(const Point& mousePos, Fw::MouseButton bu
|
||||
|
||||
// only non phatom widgets receives mouse events
|
||||
if(!isPhantom())
|
||||
onMouseRelease(mousePos, button);
|
||||
return onMouseRelease(mousePos, button);
|
||||
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user