Sliders can now be operated with Numpad arrows if numlock if off
This commit is contained in:
parent
d1a995ef6d
commit
517bc77692
|
@ -3,6 +3,7 @@ D1X-Rebirth Changelog
|
|||
20111114
|
||||
--------
|
||||
ui/userbox.c: Make ui_userbox_do fully event-responsive
|
||||
main/newmenu.c: Sliders can now be operated with Numpad arrows if numlock if off
|
||||
|
||||
20111112
|
||||
--------
|
||||
|
|
|
@ -1127,11 +1127,13 @@ int newmenu_key_command(window *wind, d_event *event, newmenu *menu)
|
|||
{
|
||||
switch( k ) {
|
||||
case KEY_LEFT:
|
||||
case KEY_PAD4:
|
||||
item->value -= 1;
|
||||
changed = 1;
|
||||
rval = 1;
|
||||
break;
|
||||
case KEY_RIGHT:
|
||||
case KEY_PAD6:
|
||||
item->value++;
|
||||
changed = 1;
|
||||
rval = 1;
|
||||
|
|
Loading…
Reference in a new issue