Skip to content
This repository has been archived by the owner on Jun 28, 2021. It is now read-only.

Fix breakWords property #9

Closed
bluepichu opened this issue Dec 20, 2016 · 0 comments
Closed

Fix breakWords property #9

bluepichu opened this issue Dec 20, 2016 · 0 comments
Assignees

Comments

@bluepichu
Copy link
Collaborator

Currently, using breakWords to allow line breaks caused by word wrapping to occur mid-word causes tags to be broken. Obviously, the width of the tags shouldn't be included in the width of the text.

Fixing this would probably require overriding PIXI.Text's wordWrap method to not count the tags when computing widths.

@bluepichu bluepichu added the Bug label Dec 20, 2016
@bluepichu bluepichu self-assigned this Jan 2, 2017
bluepichu added a commit to bluepichu/pixi-multistyle-text that referenced this issue Jan 2, 2017
bluepichu added a commit to bluepichu/pixi-multistyle-text that referenced this issue Jan 2, 2017
@tleunen tleunen closed this as completed in 662d1e6 Jan 2, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant