Skip to content

Commit

Permalink
Fixed undo
Browse files Browse the repository at this point in the history
  • Loading branch information
flabbet committed Oct 19, 2021
1 parent adadef1 commit 620a17c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions PixiEditor/Models/Undo/StorageBasedChange.cs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,10 @@ public Change ToChange(Action<Layer[], UndoLayer[], object[]> undoRedoProcess, o
{
Action<object[]> finalProcess = processParameters =>
{
Layer[] layers = LoadLayersFromDevice();
GenerateUndoLayers();
SaveLayersOnDevice();
undoRedoProcess(layers, StoredLayers, processParameters);
Expand Down

0 comments on commit 620a17c

Please sign in to comment.