CPKreuz 4 years ago
parent
commit
b550c25e33
1 changed files with 3 additions and 3 deletions
  1. 3 3
      PixiEditor/Models/Controllers/UndoManager.cs

+ 3 - 3
PixiEditor/Models/Controllers/UndoManager.cs

@@ -51,9 +51,9 @@ namespace PixiEditor.Models.Controllers
 
 
             // Clears RedoStack if last move wasn't redo or undo and if redo stack is greater than 0.
             // Clears RedoStack if last move wasn't redo or undo and if redo stack is greater than 0.
             if (lastChangeWasUndo == false && RedoStack.Count > 0)
             if (lastChangeWasUndo == false && RedoStack.Count > 0)
-                {
-                    RedoStack.Clear();
-                }
+            {
+                RedoStack.Clear();
+            }
 
 
             change.Root ??= MainRoot;
             change.Root ??= MainRoot;
             UndoStack.Push(change);
             UndoStack.Push(change);