Closed basecode closed 11 years ago
Code looks clean as butter to me. I just tested in latest Chrome, Safari and Firefox with consistent results.
:thumbsup: from me.
Thanks for reviewing @iamdustan!
@basecode please also change the Text
-documentation here https://github.com/uxebu/bonsai-docs/blob/gh-pages/overview/Text.md.
Good point. I updated the Text documentation https://github.com/uxebu/bonsai-docs/pull/37.
This pull-request introduces support for
textAlign
attribute on Text. It can be set viaattr
and allows one of the following values: "left", "center", "right". Default is "left". Partially addresses #84.Why not "start" and "end"?
It makes sense to implement "start" and "end" as soon as Bonsai also supports text direction (e.g. from right to left) similar to the SVG or Canvas2d spec for example.