Forward touch event to child windows even for widgets
This is the case when the menu is started whereby the widget takes the full screen. Resolves #106
This commit is contained in:
@@ -75,6 +75,10 @@ bool Widget::onTouchEnd(coord_t x, coord_t y)
|
||||
//TODO: forward to widget (lua for instance)
|
||||
return true;
|
||||
}
|
||||
|
||||
if (Window::onTouchEnd(x, y)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (hasFocus()) {
|
||||
onPress();
|
||||
|
||||
Reference in New Issue
Block a user