From a92e1985194d8063bfeea81203e28c32f23de587 Mon Sep 17 00:00:00 2001 From: Jason Neufeld Date: Mon, 28 Sep 2015 17:10:40 -0700 Subject: [PATCH] Adds input event listener to scaling factor. --- src/js/controller/settings/exportimage/ImageExportController.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/js/controller/settings/exportimage/ImageExportController.js b/src/js/controller/settings/exportimage/ImageExportController.js index 8d672ce3..9b6a9b85 100644 --- a/src/js/controller/settings/exportimage/ImageExportController.js +++ b/src/js/controller/settings/exportimage/ImageExportController.js @@ -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();