Closed VardanTitan closed 2 years ago
Thanks. Can you push the fix with the PR?
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.
This issue was closed because it has been stalled for 5 days with no activity.
Describe the bug In some cases
undo()
method returns wrong result.To Reproduce Steps to reproduce the behavior:
undo()
undo()
returns a false although there is a text drawing that can be undone.Expected behavior
undo()
call returns true so text also can be removed.Additional context While looking into code I found this:
I think
return removeView.undo()
causes the issue as it doesn't count added views beforeDrawingView
.