This feels awful, @emilk why does this have to be an Arc? Should the Arc be replaced with a new one when set_undoer is called, or should it just replace the undoer inside the Arc? Closes #3436
Before: https://github.com/emilk/egui/assets/4723091/4b42842c-4f34-45d1-9538-29cd0bfd614e https://github.com/emilk/egui/assets/4723091/7544e300-5b9a-4b2b-aaa4-9acade69fa75 After: https://github.com/emilk/egui/assets/4723091/d720286f-a166-4891-874a-350b15683587
* Closes #3447 * Closes #3448 Better implementation than #3448. (by accident since I did not see that PR)