summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f681967)
This fixes a nasty bug with handling (invisible) overlay touch buttons
on devices without touch screen.
if (gi == NULL || gi->deactivated || gi->mapped)
return;
if (gi == NULL || gi->deactivated || gi->mapped)
return;
+ // do not map overlay touch buttons if touch screen is not used
+ if (gi->overlay_touch_button && !runtime.uses_touch_device)
+ return;
+
gi->mapped = TRUE;
if (redraw)
gi->mapped = TRUE;
if (redraw)