Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change wire padding behavior #132

Merged
merged 1 commit into from
Jul 27, 2020
Merged

Change wire padding behavior #132

merged 1 commit into from
Jul 27, 2020

Conversation

formatc1702
Copy link
Collaborator

@formatc1702 formatc1702 commented Jul 27, 2020

Addresses #131.

Previously, padding of single-color wires to match thickness of multicolor ones was decided on a per-cable basis.

This PR changes the behavior to a global, per-harness basis; i.e. if any wire in the entire harness is multicolored, and thus will be rendered thicker, all other wires are padded to match.

src/wireviz/Harness.py Outdated Show resolved Hide resolved
@formatc1702 formatc1702 marked this pull request as ready for review July 27, 2020 18:05
@formatc1702 formatc1702 added this to the v0.2 = PRIORITY milestone Jul 27, 2020
@formatc1702
Copy link
Collaborator Author

I've built in your suggestion. Please let me know if you have any other points, and I'll merge if not :)

Copy link
Collaborator

@kvid kvid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for accepting my suggestion.

@formatc1702 formatc1702 merged commit 23c17e6 into dev Jul 27, 2020
@formatc1702 formatc1702 deleted the bugfix/wire-thickness branch July 27, 2020 20:41
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.

2 participants