-
Notifications
You must be signed in to change notification settings - Fork 550
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
Feature/text alignment #565
Conversation
5cd1007
to
eec1e9b
Compare
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.
Thank you! Just have one final minor question. PTAL!
if (_prototypePainter.textAlign == value) return; | ||
_prototypePainter.textAlign = value; |
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.
I believe setting textAlign on prototype painter would not have any effect... unless you're using the painter as placeholder for current alignment value? In which case I'd probably recommend to actually introduce _textAlign
private field to make it more explicit and avoid any possibility of prototype painter messing with this value in future.
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.
LGTM
Refer to #437 for description and previous discussions.