embiem / react-canvas-draw

React Component for drawing in canvas
https://embiem.github.io/react-canvas-draw/
MIT License
904 stars 315 forks source link

Immediate flag should be really immediate #30

Closed rajatbarman closed 4 years ago

rajatbarman commented 5 years ago

Right now it is in a setTimeout with 0 timeout, this affects drawing experience a bit. If immediate is true it should execute without setTimeout like implemented in this file.

https://github.com/rajatbarman/react-canvas-draw/blob/master/src/index.js

embiem commented 4 years ago

Thanks for reporting!

This is now fixed in version 1.1.0