atomic-junky / Monologue

Design complex dialogues for games!
https://atomic-junky.itch.io/monologue
MIT License
12 stars 2 forks source link

Set minimum size for end path icon #29

Closed RailKill closed 2 months ago

RailKill commented 2 months ago

Super simple, one-line fix for #14. Bug was caused by size.y = 0 in MonologueGraphNode _common_update() which is supposed to shrink y content, but the end path node icon does not have a minimum size, so it shrinks to 0. The fix is to set a minimum size, that's it.

sourcery-ai[bot] commented 2 months ago

🧙 Sourcery has finished reviewing your pull request!


Tips - Trigger a new Sourcery review by commenting `@sourcery-ai review` on the pull request. - Continue your discussion with Sourcery by replying directly to review comments. - You can change your review settings at any time by accessing your [dashboard](https://app.sourcery.ai): - Enable or disable the Sourcery-generated pull request summary or reviewer's guide; - Change the review language; - You can always [contact us](mailto:support@sourcery.ai) if you have any questions or feedback.