aboutsummaryrefslogtreecommitdiff
path: root/src/background/operators/impls/ZoomInOperator.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/background/operators/impls/ZoomInOperator.ts')
-rw-r--r--src/background/operators/impls/ZoomInOperator.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/background/operators/impls/ZoomInOperator.ts b/src/background/operators/impls/ZoomInOperator.ts
new file mode 100644
index 0000000..e900f0d
--- /dev/null
+++ b/src/background/operators/impls/ZoomInOperator.ts
@@ -0,0 +1,10 @@
+import Operator from "../Operator";
+import ZoomPresenter from "../../presenters/ZoomPresenter";
+
+export default class ZoomInOperator implements Operator {
+ constructor(private readonly zoomPresenter: ZoomPresenter) {}
+
+ run(): Promise<void> {
+ return this.zoomPresenter.zoomIn();
+ }
+}