Expand description
An automatic undo stack fed the current state every frame.
egui’s egui::util::undoer::Undoer (© Rerun / emilk, dual-licensed MIT OR
Apache-2.0), reimplemented over Duration so nothing above the backend
needs a toolkit to remember where it has been. The rules are its two:
- a state that has differed from the newest point and then held still for
stable_timebecomes a point of its own; - a state that never holds still becomes one every
auto_save_intervalanyway, so a run of changes that never settles still leaves something to take back.