scroll lines action
This commit is contained in:
parent
6213f55e22
commit
02c0cfd97d
4 changed files with 8 additions and 19 deletions
|
@ -42,11 +42,8 @@ const invokeEvent = (action) => {
|
|||
createFooterLine('open ');
|
||||
}
|
||||
break;
|
||||
case actions.SCROLL_UP:
|
||||
scrolls.scrollUp(window, action[1] || 1);
|
||||
break;
|
||||
case actions.SCROLL_DOWN:
|
||||
scrolls.scrollDown(window, action[1] || 1);
|
||||
case actions.SCROLL_LINES:
|
||||
scrolls.scrollLines(window, action[1]);
|
||||
break;
|
||||
case actions.SCROLL_TOP:
|
||||
scrolls.scrollTop(window, action[1]);
|
||||
|
|
Reference in a new issue