diff --git a/TODO b/TODO index a8d1d94d..d86bdc14 100644 --- a/TODO +++ b/TODO @@ -1,8 +1,13 @@ modules managment interface clean sprites cache periodically hotkeys events in lua -make password text edit hidden load modules from zip packages ip/host/rsa configuration review directories search -move tibia fonts to tibiafiles module \ No newline at end of file +tooltips +left panel with dragging windows +console history +console text selection +console scrolling +padding +remember password/account \ No newline at end of file diff --git a/src/framework/ui/uiwindow.cpp b/src/framework/ui/uiwindow.cpp index 34bb9320..102d6397 100644 --- a/src/framework/ui/uiwindow.cpp +++ b/src/framework/ui/uiwindow.cpp @@ -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();