mirror of
https://github.com/stashapp/stash.git
synced 2025-12-27 18:56:06 +01:00
Setting marker end time with clock button uses full precision (#5437)
This commit is contained in:
parent
e8125d08db
commit
527c282b92
1 changed files with 1 additions and 4 deletions
|
|
@ -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}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Reference in a new issue