listeners should be added before calling draw()
nicholaide opened this issue · comments
Nicholai de Guzman commented
As per Pull Request 39, the gem now adds the ability to have listeners. The issue is that 'ready' listeners do not fire after the first draw() event (subsequent redraws work).
The solution is to add listeners before the draw call, unless I am missing something?
Harish Shetty commented
This is indeed a bug. In my production setup I had to add a monkey-patch to address this issue. I have submitted a pull request that addresses the issue.
Winston commented
I'll merge in the change once we have a green build. =) Thank you!
Winston commented
Merged in the fix. Thank you.