I am trying to support undo between file opening in my app. So, when I restore a drawing, I attempt to also restore the undo actions. I was hoping that they would restore into the ToolPicker so the user could see the undo arrows there and use them 'just where they left off'.
Does anyone know if there is a way to do this? Injecting them into the undoManager from @Environment(\.undoManager) certainly does not appear to work.
Thoughts?
Does anyone know if there is a way to do this? Injecting them into the undoManager from @Environment(\.undoManager) certainly does not appear to work.
Thoughts?