mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 19:36:28 +00:00
Profile editor - Added most properties
This commit is contained in:
1 parent
c04bff1f48
commit
022beb6a48
62 files changed
+1424
-251
No files matched your search
@@ -729,7 +729,7 @@ namespace Artemis.Core
|
||||
// Ensure the brush reference matches the brush
|
||||
LayerBrushReference? current = General.BrushReference.BaseValue;
|
||||
if (!descriptor.MatchesLayerBrushReference(current))
|
||||
General.BrushReference.BaseValue = new LayerBrushReference(descriptor);
|
||||
General.BrushReference.SetCurrentValue(new LayerBrushReference(descriptor), null);
|
||||
|
||||
ActivateLayerBrush();
|
||||
}
|
||||
@@ -760,6 +760,10 @@ namespace Artemis.Core
|
||||
: null;
|
||||
descriptor?.CreateInstance(this);
|
||||
|
||||
General.ShapeType.IsHidden = LayerBrush != null && !LayerBrush.SupportsTransformation;
|
||||
General.BlendMode.IsHidden = LayerBrush != null && !LayerBrush.SupportsTransformation;
|
||||
Transform.IsHidden = LayerBrush != null && !LayerBrush.SupportsTransformation;
|
||||
|
||||
OnLayerBrushUpdated();
|
||||
ClearBrokenState("Failed to initialize layer brush");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user