burhanrashid52 / PhotoEditor

A Photo Editor library with simple, easy support for image editing using paints,text,filters,emoji and Sticker like stories.
MIT License
4.07k stars 981 forks source link

How to know that undo and redo option is available #549

Closed shailesh2208 closed 1 month ago

shailesh2208 commented 3 months ago

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??

burhanrashid52 commented 3 months ago

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

github-actions[bot] commented 2 months ago

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] commented 1 month ago

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