Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/min exposure #150

Merged
merged 2 commits into from
Mar 25, 2024
Merged

Fix/min exposure #150

merged 2 commits into from
Mar 25, 2024

Conversation

capetillo
Copy link
Contributor

@capetillo capetillo commented Mar 25, 2024

QUICK FIX: Minimum exposure

Michael discovered that users cannot input decimals for exposures. This was quickly changed by changing the min value of the Exposure field to be 0.000001 and having a step of any. This step defaults to 1 but if the user wants to manually input something else, then that can be done too.

Screenshot 2024-03-25 at 2 18 45 PM

@@ -322,12 +322,10 @@
size="is-small"
:disabled="!exposures[n-1].active || read_only"
type="number"
min="0"
min="0.000001"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fine. Honestly in practice a min of 0.1 with step of 0.1 would probably suffice. I don't know that any of these cameras can control the exposure time in microseconds lol

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But doing what Michael said is totally fine, just go with that.

@capetillo capetillo merged commit 8e87949 into dev Mar 25, 2024
1 check passed
@capetillo capetillo deleted the fix/min-exposure branch March 25, 2024 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants