Layer properties - Implement INotifyPropertyChanged on BaseValue

Profile editor - Don't show expand button on property groups without children
Profile editor - Alert user about extra options on brushes
This commit is contained in:
Robert committed 2021-05-21 18:24:47 +02:00
1 parent 87dce788d7
commit 3825c34be1
3 files changed
+45 -12

No files matched your search

@@ -15,7 +15,7 @@ namespace Artemis.Core
/// </para>
/// </summary>
/// <typeparam name="T">The type of property encapsulated in this layer property</typeparam>
public class LayerProperty<T> : ILayerProperty
public class LayerProperty<T> : CorePropertyChanged, ILayerProperty
{
private bool _disposed;
@@ -265,6 +265,7 @@ namespace Artemis.Core
_baseValue = value;
ReapplyUpdate();
OnPropertyChanged(nameof(BaseValue));
}
}