Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: Return early in getTextScale() if text is empty or starts with …
…letter (#3426) Not sure why, but `setText()` seems to be called with an empty string very often - for this case it's nice if getTextScale() returns early. If the text starts with a letter, we can also return early.
- Loading branch information