Core - Moved layer properties to their own class

This commit is contained in:
Robert committed 2020-03-09 17:22:27 +01:00
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>();