aboutsummaryrefslogtreecommitdiff
path: root/src/background/operators/impls/TabOperatorFactoryChain.ts
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2020-12-03 22:42:33 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2020-12-09 23:09:34 +0900
commit781b26a961603141af9365bb85d582569331d52f (patch)
treeed14f2a8159a7333ed33d04b3fa2cbae9eb4d222 /src/background/operators/impls/TabOperatorFactoryChain.ts
parentca804b1b335df0e7a316d12ed9246beec55ff7f2 (diff)
Fix select next/prev
Diffstat (limited to 'src/background/operators/impls/TabOperatorFactoryChain.ts')
-rw-r--r--src/background/operators/impls/TabOperatorFactoryChain.ts6
1 files changed, 3 insertions, 3 deletions
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: