Of course, why didn't I think of that. I had just started to do it recursively. eg
But this is causing a few complications, I think a timer should work well.
posted 11 years ago
Hmmm, still can't get it to work right, I don't really want a 1 second gap between each undo, but if I set it to say 50ms, then it doesn't complete the first turn in time, since it starts the next turn 50ms later.
Perhaps I need to do it recursivley within the timer somehow?
There's a way to do it better - find it. -Edison. A better tiny ad:
Programmatically Create PDF Using Free Spire.PDF with Java