mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
Setting marker end time with clock button uses full precision (#5437)
This commit is contained in:
@@ -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}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user