Added undo/redo to profile editor

Added shape anchor point display and movement
This commit is contained in:
Robert committed 2020-01-14 17:19:53 +01:00
1 parent e9677f2070
commit c97b479779
25 files changed
+386 -68

No files matched your search

@@ -125,6 +125,16 @@ namespace Artemis.UI.Screens.Module.ProfileEditor
_profileService.DeleteProfile(profile);
}
public void Undo()
{
_profileEditorService.UndoUpdateProfile(Module);
}
public void Redo()
{
_profileEditorService.RedoUpdateProfile(Module);
}
private void ModuleOnActiveProfileChanged(object sender, EventArgs e)
{
if (SelectedProfile == Module.ActiveProfile)