aboutsummaryrefslogtreecommitdiff
path: root/src/background/operators/impls/ZoomInOperator.ts
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2020-12-02 22:40:10 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2020-12-09 23:09:34 +0900
commitca804b1b335df0e7a316d12ed9246beec55ff7f2 (patch)
tree6265d1d0b4e7637a10ae9e68e0f2949d11fcd0e4 /src/background/operators/impls/ZoomInOperator.ts
parentddf912804fc4cb26d388283eacca63a0aeddf779 (diff)
Make background operator as an operator
Diffstat (limited to 'src/background/operators/impls/ZoomInOperator.ts')
-rw-r--r--src/background/operators/impls/ZoomInOperator.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/background/operators/impls/ZoomInOperator.ts b/src/background/operators/impls/ZoomInOperator.ts
index 0c44c6f..9ed1861 100644
--- a/src/background/operators/impls/ZoomInOperator.ts
+++ b/src/background/operators/impls/ZoomInOperator.ts
@@ -1,10 +1,10 @@
import Operator from "../Operator";
-import ZoomUseCase from "../../usecases/ZoomUseCase";
+import ZoomPresenter from "../../usecases/ZoomPresenter";
export default class ZoomInOperator implements Operator {
- constructor(private readonly zoomUseCase: ZoomUseCase) {}
+ constructor(private readonly zoomPresenter: ZoomPresenter) {}
run(): Promise<void> {
- return this.zoomUseCase.zoomIn();
+ return this.zoomPresenter.zoomIn();
}
}