mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 12:04:55 +02:00
just some comments
This commit is contained in:
@@ -123,6 +123,7 @@ bool UIWindow::onMousePress(const Point& mousePos, Fw::MouseButton button)
|
||||
{
|
||||
if(m_movePolicy != DONT_MOVE) {
|
||||
UIWidgetPtr clickedChild = getChildByPos(mousePos);
|
||||
//FIXME: recursively check for non phantom children
|
||||
if(!clickedChild || clickedChild->isPhantom()) {
|
||||
m_moving = true;
|
||||
m_movingReference = mousePos - getRect().topLeft();
|
||||
|
Reference in New Issue
Block a user