Skip to content

Commit

Permalink
floating precision = 4
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-eyes committed Jan 5, 2025
1 parent d1291aa commit 4bc66f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1902,8 +1902,8 @@ <h5 id="plot-title-display-${plotId}" class="mb-0 text-center">Plot ${plotCounte
});

axisSlider.noUiSlider.on('update', function (values, handle) {
axisMinInput.value = parseFloat(values[0]).toFixed(2);
axisMaxInput.value = parseFloat(values[1]).toFixed(2);
axisMinInput.value = parseFloat(values[0]).toFixed(4);
axisMaxInput.value = parseFloat(values[1]).toFixed(4);

// Debounce plot update
clearTimeout(axisSlider.updateTimeout);
Expand Down

0 comments on commit 4bc66f9

Please sign in to comment.