What a fatheaded typo. Was checking if exposure was in response, not if it is < BOLEX.expected

This commit is contained in:
mmcw-dev 2017-10-23 00:26:53 -04:00
parent 3bf6939549
commit 29800a7b45
1 changed files with 1 additions and 2 deletions

View File

@ -509,11 +509,10 @@ null==d?void 0:d))},attrHooks:{type:{set:function(a,b){if(!o.radioValue&&"radio"
web.setExposureSuccess = function (res) { web.setExposureSuccess = function (res) {
'use strict'; 'use strict';
var exposure; var exposure;
if (res.exposure) { if (res.exposure < BOLEX.expected) {
res.exposure = BOLEX.expected; res.exposure = BOLEX.expected;
} }
STATE.exposure = res.exposure; STATE.exposure = res.exposure;
console.log(STATE.exposure);
exposure = shutter(STATE.exposure); exposure = shutter(STATE.exposure);
$('#str').text(exposure.str); $('#str').text(exposure.str);
console.log('setExposure to ' + res.exposure); console.log('setExposure to ' + res.exposure);