Simplify shutter() logic.

This commit is contained in:
mmcw-dev 2017-10-23 00:33:02 -04:00
parent c508c6e693
commit 24c5331cf2
1 changed files with 1 additions and 1 deletions

View File

@ -307,7 +307,7 @@ null==d?void 0:d))},attrHooks:{type:{set:function(a,b){if(!o.radioValue&&"radio"
var speed;
var corrected;
var str;
if ((typeof exposure !== 'undefined' && exposure !== 0) || exposure >= BOLEX.expected) {
if (exposure > BOLEX.expected) {
//if exposure is explicitly set
fraction = exposure / 1000;
speed = fraction;