mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 11:26:27 +00:00
Profile elements - Simplified class hierarchy
Profile editor - Seperated event types and avoid a lot of type checking Profile editor - Avoid changing profiles/layers if the new equals the old Color picker - Fixed binding error Profile tree - Select first element by default Profile editor - Adjusted initialization order
This commit is contained in:
1 parent
a4282006de
commit
94f3d84530
25 files changed
+303
-195
No files matched your search
@@ -14,7 +14,7 @@ namespace Artemis.Core.Plugins.LayerEffect.Abstract
|
||||
public abstract class BaseLayerEffect : PropertyChangedBase, IDisposable
|
||||
{
|
||||
private Guid _entityId;
|
||||
private EffectProfileElement _profileElement;
|
||||
private RenderProfileElement _profileElement;
|
||||
private string _name;
|
||||
private bool _enabled;
|
||||
private bool _hasBeenRenamed;
|
||||
@@ -33,7 +33,7 @@ namespace Artemis.Core.Plugins.LayerEffect.Abstract
|
||||
/// <summary>
|
||||
/// Gets the profile element (such as layer or folder) this effect is applied to
|
||||
/// </summary>
|
||||
public EffectProfileElement ProfileElement
|
||||
public RenderProfileElement ProfileElement
|
||||
{
|
||||
get => _profileElement;
|
||||
internal set => SetAndNotify(ref _profileElement, value);
|
||||
|
||||
Reference in new issue
Block a user