Skip to content

fix: Bars in --skip-total flag#465

Merged
bootandy merged 1 commit into
masterfrom
skip_total_bars
Jan 26, 2025
Merged

fix: Bars in --skip-total flag#465
bootandy merged 1 commit into
masterfrom
skip_total_bars

Conversation

@bootandy
Copy link
Copy Markdown
Owner

Before we calculated the % by taking the longest bar. If you use --skip-total the longest bar is not the total. Remove this special case as it was wrong.

Before we calculated the % by taking the longest bar. If you use
--skip-total the longest bar is not the total. We need to sum up all the
children of root to work out what the largest size is.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant