Closed diwo closed 4 years ago
Hm isn't the same going to happen when calling goBack just bellow in handled = handled | currentGui->handleInput(keysDown, keysHeld, touchPos, joyStickPosLeft, joyStickPosRight);
?
Only if handleInput calls goback without returning true for handled. Whereas gui's handleInput was called unconditionally
Go back from element handler crashes because gui is destroyed when popped from the stack, but gui input handler is still fired afterwards