mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +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
70aaa645fb
commit
7b27d076b3
25 files changed
+303
-195
No files matched your search
@@ -32,5 +32,7 @@ namespace Artemis.Core.Models.Profile.Conditions.Abstract
|
||||
_children.Remove(displayConditionPart);
|
||||
}
|
||||
}
|
||||
|
||||
public abstract void ApplyToEntity();
|
||||
}
|
||||
}
|
||||
@@ -5,6 +5,12 @@ namespace Artemis.Core.Models.Profile.Conditions
|
||||
public class DisplayConditionGroup : DisplayConditionPart
|
||||
{
|
||||
public BooleanOperator BooleanOperator { get; set; }
|
||||
|
||||
public override void ApplyToEntity()
|
||||
{
|
||||
foreach (var child in Children)
|
||||
child.ApplyToEntity();
|
||||
}
|
||||
}
|
||||
|
||||
public enum BooleanOperator
|
||||
|
||||
Reference in new issue
Block a user