Skip to content

Commit

Permalink
Setting marker end time with clock button uses full precision
Browse files Browse the repository at this point in the history
This is similar to how start time setting already worked.

fix formatting
  • Loading branch information
MinasukiHikimuna committed Nov 2, 2024
1 parent e8125d0 commit d3eadf2
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 d3eadf2

Please sign in to comment.