hard code 1/6 exposure time

This commit is contained in:
Chuck Dries 2022-06-21 12:48:38 -07:00
parent 84ee824eab
commit 9ec2791b82
No known key found for this signature in database
GPG Key ID: A00B7AEAE1DC5BE6

View File

@ -53,6 +53,9 @@ export const getShutterFractionFromExposureTime = (exposureTime) => {
if (exposureTime === 0.06666666666666667) {
return "1/15";
}
if (exposureTime === 0.16666666666666666) {
return "1/6";
}
let fraction = exposureTime;
const len = fraction.toString().length - 2;