Only escape to close on desktop

main
Cameron Murphy Reikes 2 years ago
parent 2394603f6e
commit a6d8a66bb8

@ -1708,10 +1708,12 @@ void event(const sapp_event *e)
roll_just_pressed = true;
}
#ifdef DESKTOP // very nice for my run from cmdline workflow, escape to quit
if(e->key_code == SAPP_KEYCODE_ESCAPE)
{
sapp_quit();
}
#endif
#ifdef DEVTOOLS
if(e->key_code == SAPP_KEYCODE_T)
{

Loading…
Cancel
Save