How does undo work?

Lê Như Ý

New member
How does undo work?
Answer
When the user performs an action, it’s pushed onto the Undo stack and the Redo stack is cleared. When the user does an Undo, the Undo stack is popped, Undo is called on that EditAction, and the action is pushed onto the Redo stack.
 

Tìm kiếm

Back
Top