aboutsummaryrefslogtreecommitdiff
path: root/src/background/operators/impls/ZoomOutOperator.ts
blob: 0c0389ee913a597e4461f74c88c27923511181ca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
import Operator from "../Operator";
import ZoomPresenter from "../../presenters/ZoomPresenter";

export default class ZoomOutOperator implements Operator {
  constructor(private readonly zoomPresenter: ZoomPresenter) {}

  run(): Promise<void> {
    return this.zoomPresenter.zoomOut();
  }
}