mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
Core - Moved layer properties to their own class
This commit is contained in:
1 parent
2afd413dd5
commit
11b3dcdce9
8 files changed
+274
-221
No files matched your search
@@ -241,7 +241,7 @@ namespace Artemis.Core.Models.Profile.LayerProperties
|
||||
public int GetFlattenedIndex()
|
||||
{
|
||||
if (Parent == null)
|
||||
return Layer.Properties.IndexOf(this);
|
||||
return Layer.Properties.ToList().IndexOf(this);
|
||||
|
||||
// Create a flattened list of all properties in their order as defined by the parent/child hierarchy
|
||||
var properties = new List<BaseLayerProperty>();
|
||||
|
||||
Reference in new issue
Block a user