From e96b298b7b4e054559ccecbabaa4e0da24ab557d Mon Sep 17 00:00:00 2001 From: Chuck Dries Date: Wed, 15 Jun 2022 22:28:28 -0700 Subject: [PATCH] fix 1/15s shutter speed --- src/utils.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/utils.js b/src/utils.js index 81b0380..d87ed2f 100644 --- a/src/utils.js +++ b/src/utils.js @@ -50,6 +50,9 @@ export const getShutterFractionFromExposureTime = (exposureTime) => { if (exposureTime === 0.0011111111111111111) { return "1/900"; } + if (exposureTime === 0.06666666666666667) { + return "1/15"; + } let fraction = exposureTime; const len = fraction.toString().length - 2;