mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
Profile editor - Fixed new layers not saving in some situations
Profile tree - Improved buttons visibility Layer brushes - Support transformation by default, unless a RGB.NET brush
This commit is contained in:
1 parent
c60ae48e66
commit
f917728ac8
13 files changed
+88
-40
No files matched your search
@@ -19,7 +19,7 @@ namespace Artemis.UI.Shared.Services.Interfaces
|
||||
IKernel Kernel { get; }
|
||||
|
||||
void ChangeSelectedProfile(Profile profile);
|
||||
void UpdateSelectedProfile();
|
||||
void UpdateSelectedProfile(bool includeChildren);
|
||||
void ChangeSelectedProfileElement(ProfileElement profileElement);
|
||||
void UpdateSelectedProfileElement();
|
||||
void UpdateProfilePreview();
|
||||
|
||||
@@ -71,9 +71,9 @@ namespace Artemis.UI.Shared.Services
|
||||
OnSelectedProfileChanged(profileElementEvent);
|
||||
}
|
||||
|
||||
public void UpdateSelectedProfile()
|
||||
public void UpdateSelectedProfile(bool includeChildren)
|
||||
{
|
||||
_profileService.UpdateProfile(SelectedProfile, false);
|
||||
_profileService.UpdateProfile(SelectedProfile, includeChildren);
|
||||
UpdateProfilePreview();
|
||||
OnSelectedProfileElementUpdated(new ProfileElementEventArgs(SelectedProfile));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user