CKEY in the action window scrolls the window so that the current frame

is in the center.
This commit is contained in:
Chris Want
2003-01-28 19:54:19 +00:00
parent 1bbd7b1392
commit 57b03cba73
3 changed files with 29 additions and 0 deletions

View File

@@ -1405,6 +1405,14 @@ void winqreadactionspace(unsigned short event, short val, char ascii)
case HOMEKEY:
do_action_buttons(B_ACTHOME);
break;
case CKEY:
/* scroll the window so the current
* frame is in the center.
*/
center_currframe();
break;
case DKEY:
if (G.qual & LR_SHIFTKEY && mval[0]>ACTWIDTH){
duplicate_actionchannel_keys();