mirror of
https://github.com/mauiaaron/apple2.git
synced 2024-06-26 00:29:27 +00:00
Only allow explicit main menu requests to bubble up
- Works around existing bugs in various gltouchwidget's logic
This commit is contained in:
parent
da0b4c51cf
commit
9e9939a3a6
|
@ -223,7 +223,9 @@ jboolean Java_org_deadc0de_apple2ix_Apple2Activity_nativeOnTouch(JNIEnv *env, jo
|
|||
// LOG("\t[%f,%f]", x_coords[i], y_coords[i]);
|
||||
//}
|
||||
|
||||
bool consumed = interface_onTouchEvent(joyaction, pointerCount, pointerIndex, x_coords, y_coords);
|
||||
interface_onTouchEvent(joyaction, pointerCount, pointerIndex, x_coords, y_coords);
|
||||
|
||||
bool consumed = true; // default assume that native can handle touch event (except for explicit request to show main menu)
|
||||
if (nativeRequestsShowMainMenu) {
|
||||
nativeRequestsShowMainMenu = false;
|
||||
consumed = false;
|
||||
|
|
Loading…
Reference in New Issue
Block a user