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

Update text position in PetrinetRenderer #2897

Merged
merged 1 commit into from
Mar 1, 2024

Conversation

jamiewaese-uncharted
Copy link
Contributor

Previously the y-position of the text was hard coded because the font size was hard coded as 18px. When I added the variable font size, I forgot that the y-position needs to be adjusted too.

BEFORE
image

image

AFTER
image

image

@shawnyama shawnyama merged commit 302fd16 into main Mar 1, 2024
5 checks passed
@shawnyama shawnyama deleted the jamie-correct-position-of-labels-in-petrinet-nodes branch March 1, 2024 17:31
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