Events were being triggered in wrong order.

This commit is contained in:
mmcw-dev 2017-10-23 01:11:46 -04:00
parent 7ca9ade4ea
commit 1689fb510f
1 changed files with 3 additions and 4 deletions

View File

@ -490,10 +490,9 @@ null==d?void 0:d))},attrHooks:{type:{set:function(a,b){if(!o.radioValue&&"radio"
exposure = shutter(STATE.exposure); exposure = shutter(STATE.exposure);
$('#str').text(exposure.str); $('#str').text(exposure.str);
scale = scaleAuto(STATE.exposure); scale = scaleAuto(STATE.exposure);
$('#scale').val(scale);
STATE.scale = scale; STATE.scale = scale;
scaledExposure = scaleTime(STATE.exposure, STATE.scale); $('#exposure').val(exposure);
$('#exposure').val(scaledExposure); $('#scale').val(scale);
$('#delay').val(res.frame.delay); $('#delay').val(res.frame.delay);
STATE.delay = res.frame.delay; STATE.delay = res.frame.delay;