diff options
Diffstat (limited to 'src/background/operators/impls/ResetZoomOperator.ts')
-rw-r--r-- | src/background/operators/impls/ResetZoomOperator.ts | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/background/operators/impls/ResetZoomOperator.ts b/src/background/operators/impls/ResetZoomOperator.ts index 66cf245..48db1d5 100644 --- a/src/background/operators/impls/ResetZoomOperator.ts +++ b/src/background/operators/impls/ResetZoomOperator.ts @@ -1,9 +1,10 @@ import Operator from "../Operator"; -import ZoomUseCase from "../../usecases/ZoomUseCase"; +import ZoomPresenter from "../../usecases/ZoomPresenter"; export default class ResetZoomOperator implements Operator { - constructor(private readonly zoomUseCase: ZoomUseCase) {} + constructor(private readonly zoomPresenter: ZoomPresenter) {} + run(): Promise<void> { - return this.zoomUseCase.zoomNutoral(); + return this.zoomPresenter.resetZoom(); } } |