Fixed Error with GuiWindow
The recently added code to cause input events to bubble up through the gui control tree caused an error with the GuiWindow which apparently wanted to bubble its touch events back down. Naturally this created an infinite loop, which this check-in removes.
@@ -247,14 +247,6 @@ void GuiWindowCtrl::onTouchDown(const GuiEvent &event)
{
mouseLock();
}
- else
- {
-
- GuiControl *ctrl = findHitControl(localPoint);
- if (ctrl && ctrl != this)
- ctrl->onTouchDown(event);
-
- }
}
void GuiWindowCtrl::onTouchDragged(const GuiEvent &event)
