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
Why is the strokeUniform variable remarked in the toObject function? #6641
Comments
Unclear how to use the fiddle. What do you mean by remarked? |
that line shouldn't be commented. Is wrong. Should be fixed. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@asturur I'm interested in getting this fixed. I see the TODO comment was added/removed in these PRs, but I'm not sure that it addressed any/all possible problems that were the reason it was commented originally. added - https://github.com/fabricjs/fabric.js/pull/6118/files Could you point me at some areas to test/fix to enable this to be safely uncommented? Happy to contribute fixes, just a pointer in the right direction would be helpful. |
I think the issue was just me have a terrible test suite and need to update all the things manually. |
Got it, there are probably just tests that have hard-coded exports saved, and those need to be updated? Sounds like a good newbie task, I'll uncomment and try to get the tests all passing. |
oh do not worry! i just started it. I needed to fix it too for work, but i
used a workaround and then i forgot.
…On Thu, 31 Dec 2020 at 15:31, Jason Altekruse ***@***.***> wrote:
Got it, there are probably just tests that have hard-coded exports saved,
and those need to be updated? Sounds like a good newbie task, I'll
uncomment and try to get the tests all passing.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#6641 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJDQQGVZQVKW3X3WN5UAQLSXSDKHANCNFSM4SKLT52A>
.
|
I set the strokeUniform variable to true to fix the stroke size when increasing or decreasing the object scale.
When I use the clone function, the stroke result is different.
The strokeUniform value is not copied when creating a clone.
If you look at the fabric.js file, the strokeUniform value is remarked in the toObject function, but I wonder why!
This is my example :
http://jsfiddle.net/Nicky_Jo/zb6Lrvod/
The text was updated successfully, but these errors were encountered: