PhotoEditor icon indicating copy to clipboard operation
PhotoEditor copied to clipboard

How to know that undo and redo option is available

Open shailesh2208 opened this issue 11 months ago • 2 comments

Is your feature request related to a problem? Please describe. I wan to highlight/un highlight undo and redo button, so how can we know that image has undo and redo functionality, so that we can highlight accordingly and how can we know that user has start drawing on it??

shailesh2208 avatar Mar 13 '24 06:03 shailesh2208

The undo and redo function returns a boolean to check if anything is available to undo redo. You can use that to highlight the state

burhanrashid52 avatar Mar 16 '24 11:03 burhanrashid52

This issue is stale because it has been open 20 days with no activity. Remove stale label or comment or this will be closed in 4 days.

github-actions[bot] avatar May 03 '24 00:05 github-actions[bot]

This issue was closed because it has been stalled for 5 days with no activity.

github-actions[bot] avatar Jun 03 '24 00:06 github-actions[bot]