2
0

fix(appComponent): fixed live reloading of config

This commit is contained in:
2018-05-23 17:54:47 +02:00
parent a58e1d0ed6
commit 146bc873c0

View File

@@ -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;