-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Text-element render sub-range #1585
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
Conversation
|
|
||
| // calculate the number of characters per texture up to, but not including | ||
| // the specified symbolIndex | ||
| _calculateCharsPerTexture: function (symbolIndex) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
symbolIndex arg doesn't seem to be used can we remove it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure I understand... symbolIndex is used in the function and two of the function callsites...
|
Can you add some API ref docs for the two new properties please? 😄 |
|
text-element.js currently has no API docs at all. Should I add the API docs as private or..? |
|
Oh, looks like you haven't exposed the properties to pc.ElementComponent. Look at, say, enableMarkup for an example. |
|
And the docs for these properties should be public. |
Fixes #1584
I confirm I have signed the Contributor License Agreement.