scroll horizonally
This commit is contained in:
parent
36963b1b8b
commit
8c84930ca3
4 changed files with 22 additions and 9 deletions
|
@ -8,8 +8,10 @@ import * as consoleFrames from 'content/console-frames';
|
|||
|
||||
const exec = (operation) => {
|
||||
switch (operation.type) {
|
||||
case operations.SCROLL_LINES:
|
||||
return scrolls.scrollLines(window, operation.count);
|
||||
case operations.SCROLL_VERTICALLY:
|
||||
return scrolls.scrollVertically(window, operation.count);
|
||||
case operations.SCROLL_HORIZONALLY:
|
||||
return scrolls.scrollHorizonally(window, operation.count);
|
||||
case operations.SCROLL_PAGES:
|
||||
return scrolls.scrollPages(window, operation.count);
|
||||
case operations.SCROLL_TOP:
|
||||
|
|
Reference in a new issue