use setExposureScale to properly calculate time after autoscaling.
This commit is contained in:
parent
6801f30881
commit
0fcd6d0970
|
@ -474,7 +474,6 @@ null==d?void 0:d))},attrHooks:{type:{set:function(a,b){if(!o.radioValue&&"radio"
|
||||||
'use strict';
|
'use strict';
|
||||||
var exposure;
|
var exposure;
|
||||||
var scale;
|
var scale;
|
||||||
var scaledExposure;
|
|
||||||
if (res.frame.dir !== true) {
|
if (res.frame.dir !== true) {
|
||||||
$('#dir').prop('checked', true);
|
$('#dir').prop('checked', true);
|
||||||
STATE.dir = res.frame.dir;
|
STATE.dir = res.frame.dir;
|
||||||
|
@ -489,11 +488,9 @@ null==d?void 0:d))},attrHooks:{type:{set:function(a,b){if(!o.radioValue&&"radio"
|
||||||
STATE.exposure = res.frame.exposure;
|
STATE.exposure = res.frame.exposure;
|
||||||
exposure = shutter(STATE.exposure);
|
exposure = shutter(STATE.exposure);
|
||||||
scale = scaleAuto(STATE.exposure);
|
scale = scaleAuto(STATE.exposure);
|
||||||
STATE.scale = scale;
|
|
||||||
scaledExposure = scaleTime(STATE.exposure, STATE.scale);
|
|
||||||
$('#str').text(exposure.str);
|
$('#str').text(exposure.str);
|
||||||
$('#exposure').val(scaledExposure);
|
|
||||||
$('#scale').val(scale);
|
$('#scale').val(scale);
|
||||||
|
setExposureScale();
|
||||||
|
|
||||||
$('#delay').val(res.frame.delay);
|
$('#delay').val(res.frame.delay);
|
||||||
STATE.delay = res.frame.delay;
|
STATE.delay = res.frame.delay;
|
||||||
|
|
Loading…
Reference in New Issue