fix 1/15s shutter speed

This commit is contained in:
Chuck Dries 2022-06-15 22:28:28 -07:00
parent 41769a61d7
commit e96b298b7b
No known key found for this signature in database
GPG Key ID: A00B7AEAE1DC5BE6

View File

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