Skip to content

Commit

Permalink
fix(pie): wrong calculation between 50 and 75
Browse files Browse the repository at this point in the history
Fix #113
  • Loading branch information
ffoodd committed Jun 10, 2024
1 parent 288a186 commit 3937140
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion _site/templates/css/examples/pie.css
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
max(50%, var(--gt-25, 0) * 100%) max(50%, var(--gt-25, 0) * 100%),
max(50% + var(--pos-A) * var(--gt-25, 0), var(--gt-50, 0) * 100%) max(50% + var(--pos-B) * var(--gt-25, 0) * var(--lt-50, 0), var(--gt-50, 0) * 100%),
max(0%, var(--lt-50, 0) * 50%) max(50%, var(--gt-50, 0) * 100%),
min(50% - var(--pos-B) * var(--gt-75, 0), 0%) calc(50% + var(--pos-A) * var(--gt-50, 0) * var(--lt-75, 1)),
clamp(0%, 100% * (var(--lt-75, 1)), 50% - var(--pos-B) * var(--gt-50, 0)) calc(50% + var(--pos-A) * var(--gt-50, 0) * var(--lt-75, 1)),
max(0%, var(--lt-75, 0) * 50%) max(0%, var(--lt-75, 0) * 50%),
calc(50% - var(--pos-A) * var(--gt-75, 0)) calc(50% - var(--pos-B) * var(--gt-75, 0))
);
Expand Down
2 changes: 1 addition & 1 deletion dist/chaarts.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/chaarts.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/chaarts.min.css

Large diffs are not rendered by default.

Loading

0 comments on commit 3937140

Please sign in to comment.