aboutsummaryrefslogtreecommitdiff
path: root/src/background/operators/impls/ZoomInOperator.ts
blob: e900f0dad33a8bdbd992be75becd7326dbc7cf9a (plain) (blame)
1
2
3
4
5
6
7
8
9
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();
  }
}