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
Use case: I have an "Undo" button, and I want to disable it when there are 0 strokes on the screen. Using onStrokeStart(), I can tell when the initial strokes begin, but if the canvas reverts to 0 strokes (via undo(), or clear() or any other similar action), there is no callback or event to monitor.
The text was updated successfully, but these errors were encountered:
Use case: I have an "Undo" button, and I want to disable it when there are 0 strokes on the screen. Using
onStrokeStart()
, I can tell when the initial strokes begin, but if the canvas reverts to 0 strokes (viaundo()
, orclear()
or any other similar action), there is no callback or event to monitor.The text was updated successfully, but these errors were encountered: