mirror of
https://github.com/JannisX11/blockbench.git
synced 2024-12-03 04:40:46 +08:00
parent
ebea154699
commit
886900d2cd
@ -448,7 +448,7 @@ class Group extends OutlinerNode {
|
||||
}
|
||||
}})},
|
||||
{icon: 'sort_by_alpha', name: 'menu.group.sort', condition: {modes: ['edit']}, click: function(group) {group.sortContent()}},
|
||||
{icon: 'fa-leaf', name: 'menu.group.resolve', condition: {modes: ['edit']}, click: function(group) {group.resolve()}},
|
||||
'resolve_group',
|
||||
'delete'
|
||||
]);
|
||||
Object.defineProperty(Group, 'all', {
|
||||
@ -674,4 +674,11 @@ BARS.defineActions(function() {
|
||||
}).show();
|
||||
}
|
||||
})
|
||||
new Action('resolve_group', {
|
||||
icon: 'fa-leaf',
|
||||
condition: {modes: ['edit'], method: () => Group.selected},
|
||||
click() {
|
||||
Group.selected.resolve();
|
||||
}
|
||||
})
|
||||
})
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user