mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 19:36:28 +00:00
Profile editor - Profile tree ordering fixes
Profile editor - Add new layers on top again Profile editor - Don't willy nilly expand folders
This commit is contained in:
1 parent
9480cf5c32
commit
1b737b4211
6 files changed
+7
-7
No files matched your search
@@ -83,7 +83,7 @@
|
||||
</ContextMenu>
|
||||
</TreeView.ContextMenu>
|
||||
<b:Interaction.Behaviors>
|
||||
<behaviors:TreeViewSelectionBehavior ExpandSelected="True" SelectedItem="{Binding SelectedTreeItem}" />
|
||||
<behaviors:TreeViewSelectionBehavior SelectedItem="{Binding SelectedTreeItem}" />
|
||||
</b:Interaction.Behaviors>
|
||||
<TreeView.Resources>
|
||||
<HierarchicalDataTemplate DataType="{x:Type treeItem:FolderViewModel}" ItemsSource="{Binding Items}">
|
||||
|
||||
@@ -216,7 +216,7 @@ namespace Artemis.UI.Screens.ProfileEditor.ProfileTree.TreeItem
|
||||
public void PasteElement()
|
||||
{
|
||||
if (ProfileElement.Parent is Folder parent)
|
||||
_profileEditorService.PasteProfileElement(parent, ProfileElement.Order);
|
||||
_profileEditorService.PasteProfileElement(parent, ProfileElement.Order - 1);
|
||||
}
|
||||
|
||||
public void UpdateProfileElements()
|
||||
|
||||
Reference in new issue
Block a user