Skip to content
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

textAlign option for multiline labels is missing #134

Open
stockiNail opened this issue Sep 28, 2022 · 1 comment
Open

textAlign option for multiline labels is missing #134

stockiNail opened this issue Sep 28, 2022 · 1 comment
Labels
breaking change A change which needs a major version because not compatible with previous versions enhancement New feature or request
Milestone

Comments

@stockiNail
Copy link
Collaborator

Currently, the textAlign of context2D is set using align option of labels.

ctx.textAlign = labelsOpts.align;

But probably a specific option should be added in order to leave the user to decide how to align the rows of multiline label,

@stockiNail stockiNail added the enhancement New feature or request label Sep 28, 2022
@stockiNail stockiNail added this to the 2.1.0 milestone Sep 28, 2022
@stockiNail stockiNail added the breaking change A change which needs a major version because not compatible with previous versions label Sep 29, 2022
@stockiNail stockiNail modified the milestones: 2.1.0, 3.0.0 Sep 29, 2022
@stockiNail
Copy link
Collaborator Author

This is a breaking change because to implement it we should change the current meaning of align option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change A change which needs a major version because not compatible with previous versions enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant