fix: allow decimal progression steps below one

This commit is contained in:
Manuel authored and mflova committed 2026-08-28 17:17:02 +00:00
1 parent 5314b342ff
commit dcfc7f15a7
2 files changed
+70 -1

No files matched your search

+1 -1
View File
@@ -552,7 +552,7 @@ function ProgressionFields({ ex, mode, c, setC, routine, unit }) {
if (options.length < 2) return null
const inherited = policyFor({ id: ex.id }, routine, mode)
const active = policyFor({ ...c, id: ex.id }, routine, mode)
const inc = c.inc > 0 ? c.inc : (mode === 'time' ? 5 : defaultIncrement(ex.id, unit))
const inc = c.inc >= 0 ? c.inc : (mode === 'time' ? 5 : defaultIncrement(ex.id, unit))
return <>
<h4 className="sec">{t('Progression')}</h4>
<div className="sect-b" style={{ marginBottom: 8 }}>