From 3e7cac8b600e4ae930c0231e853be048ff239c7e Mon Sep 17 00:00:00 2001 From: Minasuki Hikimuna Date: Sat, 2 Nov 2024 14:10:02 +0200 Subject: [PATCH] Setting marker end time with clock button uses full precision This is similar to how start time setting already worked. --- ui/v2.5/src/components/Scenes/SceneDetails/SceneMarkerForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/v2.5/src/components/Scenes/SceneDetails/SceneMarkerForm.tsx b/ui/v2.5/src/components/Scenes/SceneDetails/SceneMarkerForm.tsx index baaf028dcce..e890ff231e7 100644 --- a/ui/v2.5/src/components/Scenes/SceneDetails/SceneMarkerForm.tsx +++ b/ui/v2.5/src/components/Scenes/SceneDetails/SceneMarkerForm.tsx @@ -234,7 +234,7 @@ export const SceneMarkerForm: React.FC = ({ onReset={() => formik.setFieldValue( "end_seconds", - Math.round(getPlayerPosition() ?? 0) + getPlayerPosition() ?? 0 ) } error={error}