Push dev work to master #2

Merged
sixteenmillimeter merged 416 commits from dev into master 2018-07-19 15:29:02 +00:00
2 changed files with 6 additions and 0 deletions
Showing only changes of commit f9f98ebc02 - Show all commits

View File

@ -154,6 +154,9 @@ var setState = function (res) {
document.getElementById('dir').checked = true;
STATE.dir = res.frame.dir;
setDirLabel(false);
} else {
STATE.dir = res.frame.dir;
setDirLabel(true);
}
document.getElementById('counter').value = res.counter;
STATE.counter = res.counter;

View File

@ -181,6 +181,9 @@ mobile.setDir = function () {
mobile.dirSuccess = function () {
console.log('Set direction');
mobile.getState();
setTimeout(() => {
setDirLabel(STATE.dir);
}, 50);
};
mobile.setExposure = function () {
let exposure = document.getElementById('exposure').value;