-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Free drawing line jump slightly left and top after next editing #167
Comments
I am the same,in the chrome and vue |
Free drawing line jumps after next editing. |
Same issue on live demo |
any fix yet? |
Downgrade to 3.3.1 version seems to help |
Try to use fabric.js 1.6.7. It helps me. |
downgrade does not help... line offset is half of previous draw line |
Any idea when this is going to be fixed? |
resolved at 3.7.1 |
I faced the same issue even after you fixed |
You should update the brushWidth in tui-image-editor.js as follows: From function getBrushSettings() {
var brushWidth = $inputBrushWidthRange.val();
var brushColor = brushColorpicker.getColor();
return {
width: brushWidth,
color: hexToRGBa(brushColor, 0.5),
};
} To function getBrushSettings() {
var brushWidth = parseInt($inputBrushWidthRange.val(), 10);
var brushColor = brushColorpicker.getColor();
return {
width: brushWidth,
color: hexToRGBa(brushColor, 0.5),
};
} |
Version
3.5.0
Development Environment
OSX, Chrome
Current Behavior
Free drawing line jumps after next editing. But Straight line doesn't.
Expected Behavior
Free drawing line should not move any pixels.
ref: #151
The text was updated successfully, but these errors were encountered: