Do not show widget menu in full screen mode.
This commit is contained in:
@@ -71,6 +71,11 @@ bool Widget::onTouchEnd(coord_t x, coord_t y)
|
|||||||
TRACE_WINDOWS("Widget received touch end (%d) x=%d;y=%d",
|
TRACE_WINDOWS("Widget received touch end (%d) x=%d;y=%d",
|
||||||
hasFocus(), x, y);
|
hasFocus(), x, y);
|
||||||
|
|
||||||
|
if (fullscreen) {
|
||||||
|
// forward to widget (lua for instance)
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
if (hasFocus()) {
|
if (hasFocus()) {
|
||||||
onPress();
|
onPress();
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user