mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
Data model - Hide ActivePaths property
This commit is contained in:
parent
a7c7d74e03
commit
18ae7b70b0
@ -57,6 +57,7 @@ namespace Artemis.Core.Modules
|
||||
/// <summary>
|
||||
/// Gets a read-only list of <see cref="DataModelPath" />s targeting this data model
|
||||
/// </summary>
|
||||
[DataModelIgnore]
|
||||
public ReadOnlyCollection<DataModelPath> ActivePaths => _activePaths.AsReadOnly();
|
||||
|
||||
/// <summary>
|
||||
|
||||
@ -62,9 +62,8 @@ namespace Artemis.UI.Screens.ProfileEditor.Conditions
|
||||
|
||||
protected override List<DataModelPropertiesViewModel> GetExtraRightSideDataModelViewModels()
|
||||
{
|
||||
// Extra data models are expected to not have an empty root, so lets return the child
|
||||
BindableCollection<DataModelVisualizationViewModel> children = GetEventDataModel().Children;
|
||||
return children.Cast<DataModelPropertiesViewModel>().ToList();
|
||||
// Only the VM housing the event arguments is expected here which is a DataModelPropertiesViewModel
|
||||
return GetEventDataModel().Children.Cast<DataModelPropertiesViewModel>().ToList();
|
||||
}
|
||||
|
||||
private DataModelPropertiesViewModel GetEventDataModel()
|
||||
@ -78,7 +77,6 @@ namespace Artemis.UI.Screens.ProfileEditor.Conditions
|
||||
|
||||
public override void Evaluate()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user