We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
whichever version the demos use
http://fabricjs.com/freedrawing
Which browsers? Chome/Firefox (only 2 I tried)
Draw a brush stroke.
Brush stroke stays put after mouse:up
Brush stroke shifts up and to the left on mouse:up
I used to have this code in my app that would move a brush strokes bounding-rect
// Adjust the bounding box around the brush stroke to encapsulate the entire stroke target.set({ top: target.top - (target.height / 2) - (target.strokeWidth / 2), left: target.left - (target.width / 2) - (target.strokeWidth / 2), originX: 'left', originY: 'top', });
After removing this code, the brush strokes seem to stay put in my app.
The text was updated successfully, but these errors were encountered:
Clone of #5705
Sorry, something went wrong.
No branches or pull requests
Version
whichever version the demos use
Test Case
http://fabricjs.com/freedrawing
Information about environment
Which browsers? Chome/Firefox (only 2 I tried)
Steps to reproduce
Draw a brush stroke.
Expected Behavior
Brush stroke stays put after mouse:up
Actual Behavior
Brush stroke shifts up and to the left on mouse:up
Additional Info:
I used to have this code in my app that would move a brush strokes bounding-rect
After removing this code, the brush strokes seem to stay put in my app.
The text was updated successfully, but these errors were encountered: