diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 3170134..c5fe047 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -22,6 +22,8 @@ export class AppComponent implements OnInit { const delta = Math.sign(event.deltaY); const step = 0.01; + this.config = {...this.configForm.value}; + if (delta > 0) { if (this.config.scale === 1 - step) { return;