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

fix text coordinates on init #3745

Merged
merged 3 commits into from
Feb 27, 2017
Merged

fix text coordinates on init #3745

merged 3 commits into from
Feb 27, 2017

Conversation

asturur
Copy link
Member

@asturur asturur commented Feb 26, 2017

Since initDimensions change the width, is better to call setCoords anyway after object initialization.
The latest initDimension called will probably change the width but will not call again setCoords after it.

closes #3719

@asturur asturur merged commit c3a6447 into master Feb 27, 2017
asturur added a commit that referenced this pull request Feb 27, 2017
* fix text coordinates on init

* added small test

* fix test lint
@asturur asturur deleted the fixitextsetCoords branch February 27, 2017 01:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fabric.Text.scaleToWidth seemingly not working as intended in 1.7.6
1 participant