From 781b26a961603141af9365bb85d582569331d52f Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Thu, 3 Dec 2020 22:42:33 +0900 Subject: Fix select next/prev --- src/background/operators/impls/TabOperatorFactoryChain.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/background/operators/impls/TabOperatorFactoryChain.ts') diff --git a/src/background/operators/impls/TabOperatorFactoryChain.ts b/src/background/operators/impls/TabOperatorFactoryChain.ts index b4cb401..edd3eaf 100644 --- a/src/background/operators/impls/TabOperatorFactoryChain.ts +++ b/src/background/operators/impls/TabOperatorFactoryChain.ts @@ -7,7 +7,7 @@ import CloseTabOperator from "./CloseTabOperator"; import CloseTabRightOperator from "./CloseTabRightOperator"; import ReopenTabOperator from "./ReopenTabOperator"; import SelectTabPrevOperator from "./SelectTabPrevOperator"; -import SelectTabNextOperator from "./SelectTabPrevOperator"; +import SelectTabNextOperator from "./SelectTabNextOperator"; import SelectFirstTabOperator from "./SelectFirstTabOperator"; import SelectLastTabOperator from "./SelectLastTabOperator"; import SelectPreviousSelectedTabOperator from "./SelectPreviousSelectedTabOperator"; @@ -39,9 +39,9 @@ export default class TabOperatorFactoryChain implements OperatorFactoryChain { case operations.TAB_REOPEN: return new ReopenTabOperator(this.tabPresenter); case operations.TAB_PREV: - return new SelectTabPrevOperator(this.tabPresenter, 1); + return new SelectTabPrevOperator(this.tabPresenter); case operations.TAB_NEXT: - return new SelectTabNextOperator(this.tabPresenter, 1); + return new SelectTabNextOperator(this.tabPresenter); case operations.TAB_FIRST: return new SelectFirstTabOperator(this.tabPresenter); case operations.TAB_LAST: -- cgit v1.2.3