Open ayoub-lwela opened 3 years ago
Hey, use strokeWidth with a number value instead of a string. I had the same issues with the pen. Maybe the example in README is wrong
I had the same issue, after updating the number value as a Number instead of string, this was solved. Thank you!
Thank you very much @therealstein .Your solution is very helpful.
The documentation should be updated, it still shows the strokeWidth as string and its buggy.
let customizeRectangle = { fill: 'blue',stroke: 'white',strokeWidth: "5" }
this.$refs.editor.set('rect',customizeRectangle)
When using custom stroke Width in free drawing something strange happens upon mouse button release such as appearing on a different location on the canvas or just disappearing it is like magic.