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 28c9810
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 28c9810

Please sign in to comment.