Skip to content

Commit

Permalink
Add a section on survivor benefits. (#356)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gregable authored Apr 4, 2024
1 parent 44486e5 commit 4bf0545
Show file tree
Hide file tree
Showing 5 changed files with 716 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/lib/components/Slider.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,9 @@
ticks.forEach((element) => {
element.x = valueToPosition(element.value, floor, ceiling, width);
});
ticks = ticks.filter(
(element) => element.value >= floor && element.value <= ceiling
);
} else {
for (let i = floor; i <= ceil; i += step) {
ticks.push({
Expand Down
Loading

0 comments on commit 4bf0545

Please sign in to comment.