mirror of
https://github.com/JannisX11/blockbench.git
synced 2025-04-06 17:31:09 +08:00
parent
d58ab3177d
commit
c7ec92b7a4
@ -413,7 +413,7 @@ const MenuBar = {
|
||||
|
||||
new BarMenu('tools', [
|
||||
new MenuSeparator('overview'),
|
||||
{id: 'main_tools', icon: 'construction', name: 'Toolbox', condition: () => Project, children() {
|
||||
{id: 'main_tools', icon: 'construction', name: 'menu.tools.main_tools', condition: () => Project, children() {
|
||||
let tools = Toolbox.children.filter(tool => tool instanceof Tool && tool.condition !== false);
|
||||
tools.forEach(tool => {
|
||||
let old_condition = tool.condition;
|
||||
|
@ -448,7 +448,6 @@ class Group extends OutlinerNode {
|
||||
}},
|
||||
"randomize_marker_colors",
|
||||
{name: 'menu.cube.texture', icon: 'collections', condition: () => Format.per_group_texture, children(a, b, c) {
|
||||
console.log({context, b, c});
|
||||
function applyTexture(texture_value, undo_message) {
|
||||
let affected_groups = Group.all.filter(g => g.selected);
|
||||
Undo.initEdit({outliner: true});
|
||||
|
@ -2041,6 +2041,7 @@
|
||||
"menu.transform.flip": "Flip",
|
||||
"menu.transform.center": "Center",
|
||||
"menu.transform.properties": "Properties",
|
||||
"menu.tools.main_tools": "Toolbox",
|
||||
"menu.display.preset": "Apply Preset",
|
||||
"menu.display.preset_all": "Apply Preset Everywhere",
|
||||
"menu.display.remove_preset": "Remove Preset",
|
||||
|
Loading…
x
Reference in New Issue
Block a user