Skip to content

Commit a9af05a

Browse files
authored
fix: can't switch to next period due to precision (Dash-Industry-Forum#4832)
1 parent d9836b5 commit a9af05a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dash/utils/TimelineSegmentsGetter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ function TimelineSegmentsGetter(config, isDynamic) {
283283
}
284284

285285
function precisionRound(number) {
286-
return parseFloat(number.toPrecision(15));
286+
return parseFloat(number.toPrecision(16));
287287
}
288288

289289
instance = {

0 commit comments

Comments
 (0)