-
The following example works ok with fabricjs version 5 but fails with version 6.5.3
The problem is caused by the functions:
According to the upgrade notes and here When these functions are commented, drawing on the Canvas shows in the Renderer. What should I do in when using version 6 to apply the patches in Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
GetPointer was doing both
|
Beta Was this translation helpful? Give feedback.
-
Ok, I solved the fabricjs version 6 problem by extending the fabricjs.Canvas class and overloading the |
Beta Was this translation helpful? Give feedback.
Ok, I solved the fabricjs version 6 problem by extending the fabricjs.Canvas class and overloading the
fabricjs.Canvas._onMouseMove()
method.A correct example of ThreeJS and FabricJS version 6.x (6.5.3) can be seen here
The user can draw on the
Renderer
element and the freedraw path is shown correctly in theCanvas
element.Thanks for your help.