Do not show widget menu in full screen mode.

This commit is contained in:
Raphael Coeffic
2021-05-09 16:30:11 +02:00
parent 955fa3d6bd
commit a5ef25dcee
+5
View File
@@ -71,6 +71,11 @@ bool Widget::onTouchEnd(coord_t x, coord_t y)
TRACE_WINDOWS("Widget received touch end (%d) x=%d;y=%d",
hasFocus(), x, y);
if (fullscreen) {
// forward to widget (lua for instance)
return true;
}
if (hasFocus()) {
onPress();
return true;