mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
Added undo/redo to profile editor
Added shape anchor point display and movement
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user