mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
Implemented layer element saving
Added a working setting to the brush element
This commit is contained in:
1 parent
275d2b32a6
commit
1a44e34d16
24 files changed
+440
-85
No files matched your search
+4
@@ -31,12 +31,16 @@ namespace Artemis.UI.Screens.Module.ProfileEditor.LayerElements.Dialogs
|
||||
|
||||
public void Accept()
|
||||
{
|
||||
if (Session.IsEnded)
|
||||
return;
|
||||
var layerElement = _layerService.InstantiateLayerElement(Layer, SelectedLayerElementDescriptor);
|
||||
Session.Close(layerElement);
|
||||
}
|
||||
|
||||
public void Cancel()
|
||||
{
|
||||
if (Session.IsEnded)
|
||||
return;
|
||||
Session.Close();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user