Skip to content

Commit

Permalink
Get current frame at sub-second precision
Browse files Browse the repository at this point in the history
  • Loading branch information
WithoutPants committed Nov 1, 2024
1 parent a1e223a commit 3110bd5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ export const SceneMarkerForm: React.FC<ISceneMarkerForm> = ({
frameRate={frameRate}
setValue={(v) => formik.setFieldValue("seconds", v)}
onReset={() =>
formik.setFieldValue("seconds", Math.round(getPlayerPosition() ?? 0))
formik.setFieldValue("seconds", getPlayerPosition() ?? 0)
}
error={error}
/>
Expand Down

0 comments on commit 3110bd5

Please sign in to comment.