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:
@@ -76,6 +76,10 @@ bool Widget::onTouchEnd(coord_t x, coord_t y)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (Window::onTouchEnd(x, y)) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
if (hasFocus()) {
|
if (hasFocus()) {
|
||||||
onPress();
|
onPress();
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user