fix(appComponent): fixed live reloading of config
This commit is contained in:
1 parent
a58e1d0ed6
commit
146bc873c0
1 file changed
+2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user