You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 1, 2022. It is now read-only.
1.
triggerOnChange
is never called onclear
react-canvas-draw/src/index.js
Lines 453 to 468 in 253b68e
2.
triggerOnChange
is called multiple times on callingundo
: [ number of lines left on undo + 1]triggerOnChange
is called at the end ofundo
:react-canvas-draw/src/index.js
Lines 179 to 184 in 253b68e
But,
simulateDrawingLines
is also called onundo
beforetriggerOnChange
.Now,
simulateDrawingLines
callssaveLine
multiple times. Check line 276:react-canvas-draw/src/index.js
Lines 236 to 279 in 253b68e
And
saveLine
callstriggerOnChange
at the end. Check line 446:react-canvas-draw/src/index.js
Lines 424 to 447 in 253b68e
The text was updated successfully, but these errors were encountered: