Adds input event listener to scaling factor.

This commit is contained in:
Jason Neufeld 2015-09-28 17:10:40 -07:00
parent 91ffce0bfe
commit a92e198519

View File

@ -14,6 +14,7 @@
var scalingFactorInput = document.querySelector('.scaling-factor-input');
scalingFactorInput.value = pskl.UserSettings.get(pskl.UserSettings.EXPORT_SCALING);
this.addEventListener(scalingFactorInput, 'change', this.onScalingFactorChange_);
this.addEventListener(scalingFactorInput, 'input', this.onScalingFactorChange_);
this.updateScalingFactorText_(scalingFactorInput.value);
this.pngExportController.init();