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

Add content to text shape, fix kerning default value #278

Merged
merged 4 commits into from
Sep 1, 2023

Conversation

aleokdev
Copy link
Contributor

Somehow when adding text objects I forgot the most important thing of them: Their content. So there is currently no way to see the content of an object with the Text shape. I'm sorry for that. Sadly this change is breaking so it won't be featured until 0.12, but I'm considering releasing it just because of this.
Also fixes kerning's default value, which should be true. (https://docs.mapeditor.org/en/latest/reference/tmx-map-format/#text)

src/objects.rs Outdated Show resolved Hide resolved
@aleokdev
Copy link
Contributor Author

aleokdev commented Sep 1, 2023

TODO: Add width+height attrs

@aleokdev
Copy link
Contributor Author

aleokdev commented Sep 1, 2023

Done

@aleokdev aleokdev merged commit 4d3f199 into mapeditor:next Sep 1, 2023
3 checks passed
@aleokdev aleokdev deleted the text-content branch September 1, 2023 14:07
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