Layer brushes - Render now always originates from 0,0

RGB.NET brushes - GetBrush is no called after properties are initialized
Profile editor - Fixed inputs not responding to updates from the visualization tools when keyframes are disabled
This commit is contained in:
SpoinkyNL committed 2020-06-03 14:40:35 +02:00
1 parent 22cb65c800
commit 4de0c59d85
4 files changed
+16 -10

No files matched your search

@@ -14,6 +14,7 @@ namespace Artemis.UI.Shared.PropertyInput
LayerProperty = layerProperty;
ProfileEditorService = profileEditorService;
LayerProperty.Updated += LayerPropertyOnUpdated;
LayerProperty.BaseValueChanged += LayerPropertyOnUpdated;
UpdateInputValue();
}
@@ -22,6 +23,7 @@ namespace Artemis.UI.Shared.PropertyInput
LayerProperty = layerProperty;
ProfileEditorService = profileEditorService;
LayerProperty.Updated += LayerPropertyOnUpdated;
LayerProperty.BaseValueChanged += LayerPropertyOnUpdated;
UpdateInputValue();
}
@@ -43,6 +45,7 @@ namespace Artemis.UI.Shared.PropertyInput
public virtual void Dispose()
{
LayerProperty.Updated -= LayerPropertyOnUpdated;
LayerProperty.BaseValueChanged -= LayerPropertyOnUpdated;
}
protected virtual void OnInputValueApplied()