Updated ReactiveUI

Added order to render element ctors
This commit is contained in:
Robert committed 2021-12-30 23:33:26 +01:00
1 parent 6569558df4
commit 34757716aa
46 files changed
+838 -370

No files matched your search

@@ -137,7 +137,7 @@ namespace Artemis.UI.Screens.ProfileEditor.ProfileTree.TreeItem
if (!SupportsChildren)
throw new ArtemisUIException("Cannot add a folder to a profile element of type " + ProfileElement.GetType().Name);
Folder _ = new(ProfileElement, "New folder");
Folder _ = new(ProfileElement, "New folder", 0);
_profileEditorService.SaveSelectedProfileConfiguration();
}
@@ -146,7 +146,7 @@ namespace Artemis.UI.Screens.ProfileEditor.ProfileTree.TreeItem
if (!SupportsChildren)
throw new ArtemisUIException("Cannot add a layer to a profile element of type " + ProfileElement.GetType().Name);
Layer layer = new(ProfileElement, "New layer");
Layer layer = new(ProfileElement, "New layer", 0);
// Could be null if the default brush got disabled
LayerBrushDescriptor brush = _layerBrushService.GetDefaultLayerBrush();