Skip to content

Commit

Permalink
Setting marker end time with clock button uses full precision (#5437)
Browse files Browse the repository at this point in the history
  • Loading branch information
MinasukiHikimuna authored Nov 3, 2024
1 parent e8125d0 commit 527c282
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -232,10 +232,7 @@ export const SceneMarkerForm: React.FC<ISceneMarkerForm> = ({
value={formik.values.end_seconds}
setValue={(v) => formik.setFieldValue("end_seconds", v ?? null)}
onReset={() =>
formik.setFieldValue(
"end_seconds",
Math.round(getPlayerPosition() ?? 0)
)
formik.setFieldValue("end_seconds", getPlayerPosition() ?? 0)
}
error={error}
/>
Expand Down

0 comments on commit 527c282

Please sign in to comment.