Skip to content
This repository has been archived by the owner on Oct 10, 2022. It is now read-only.

Commit

Permalink
Fix camera continuous shooting broken.
Browse files Browse the repository at this point in the history
fixes #236
  • Loading branch information
GuLinux committed Jun 16, 2020
1 parent d7f725c commit 064fd1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/Camera/AutoExposureContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class AutoExposure extends React.Component {
const {shouldAutostart, shotParameters, shoot} = this.props;

if(shouldAutostart && ! prevProps.shouldAutostart) {
shoot(shotParameters);
shoot(shotParameters, this.props.section);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/Camera/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const shoot = (parameters, section) => (dispatch) => {
}
return false;
});
}
};

export const setCamera = (camera, section) => ({ type: 'SET_CURRENT_CAMERA', camera, section });
export const setFilterWheel = (filterWheel, section) => ({ type: 'SET_CURRENT_FILTER_WHEEL', filterWheel, section });
Expand Down

0 comments on commit 064fd1a

Please sign in to comment.