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

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

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