Small correction for last commit - key handler of automap was reacting to non-key events as well
This commit is contained in:
parent
96782e092a
commit
800dcc3b48
|
@ -750,6 +750,8 @@ int automap_handler(window *wind, d_event *event, automap *am)
|
|||
case EVENT_MOUSE_BUTTON_UP:
|
||||
case EVENT_MOUSE_BUTTON_DOWN:
|
||||
case EVENT_MOUSE_MOVED:
|
||||
kconfig_read_controls(event, 1);
|
||||
break;
|
||||
case EVENT_KEY_COMMAND:
|
||||
case EVENT_KEY_RELEASE:
|
||||
kconfig_read_controls(event, 1);
|
||||
|
|
Loading…
Reference in a new issue