Skip to content

Conversation

@rh101
Copy link
Contributor

@rh101 rh101 commented May 25, 2022

In certain instances one would require the RichText to be reformatted. Calling formatText() won't yield the expected result, since it checks for the _formatTextDirty flag first, which may not have been set to true in certain cases.

Adding an optional boolean parameter to formatText() that defaults to false would keep the behavior as it is, but allow the caller to force a format of the RichText if required.

@halx99 halx99 merged commit 9eeb974 into axmolengine:dev May 25, 2022
@rh101 rh101 deleted the richtext-force-format branch October 10, 2022 02:19
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