-
Notifications
You must be signed in to change notification settings - Fork 224
Reduced diameter of star as thickness increases to fit within bounding box #1445
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
Reduced diameter of star as thickness increases to fit within bounding box #1445
Conversation
changelog.txt
Outdated
|
|
||
| ## Fixes | ||
|
|
||
| - `gui/design`: reduced diameter of star as thickness increases to remain within bounding box |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need for a "fixes" line for the star shape since it hasn't been out in a release yet. However, if this fixes the bulge for the line shape, I'd say that deserves a "fixes" entry.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the bulge in the line shape issue?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made the horizontal and vertical thickness consistent for curved lines as well, maybe this is the bulge you were referring to.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The bulge in the line shape was similar to what was happening for the star. When increasing the line thickness, the designated tiles can bulge beyond the selected endpoint, leading to potentially "selecting" tiles that are outside of the map:

This PR fixes the star shape, but the line still suffers from bulging.
I'll merge this PR as-is because the line bulge was a pre-existing issue, but if you have ideas on how to fix that, I'd love to hear them
I'll test again, likely not properly synced on my part |


Reduced diameter of hollow star as the thickness increases so it does not exceed its bounding box.
Adjusted original changelog entry to contain more details about usage.