mirror of
https://github.com/JannisX11/blockbench.git
synced 2024-12-03 04:40:46 +08:00
WIP paint with stylus only
Add open folder for recent models in context menu
This commit is contained in:
parent
6eb5160b8e
commit
d39b18a8cc
@ -288,6 +288,8 @@ const Settings = {
|
||||
Interface.Panels.color.vue.picker_type = value ? 'wheel' : 'box';
|
||||
}});
|
||||
new Setting('paint_side_restrict', {category: 'paint', value: true});
|
||||
// TODO: implement paint with stylus only into paint tools
|
||||
new Setting('paint_with_stylus_only', {category: 'paint', value: false});
|
||||
new Setting('brush_opacity_modifier', {category: 'paint', value: 'pressure', type: 'select', options: {
|
||||
'pressure': tl('settings.brush_modifier.pressure'),
|
||||
'tilt': tl('settings.brush_modifier.tilt'),
|
||||
|
@ -188,6 +188,14 @@ onVueSetup(function() {
|
||||
this.toggleProjectFavorite(recent_project);
|
||||
}
|
||||
},
|
||||
{
|
||||
id: 'open_folder',
|
||||
name: 'menu.texture.folder',
|
||||
icon: 'folder',
|
||||
click() {
|
||||
shell.showItemInFolder(recent_project.path)
|
||||
}
|
||||
},
|
||||
{
|
||||
id: 'remove',
|
||||
name: 'generic.remove',
|
||||
|
@ -765,6 +765,8 @@
|
||||
"settings.color_wheel.desc": "Use the color wheel as the main color picker",
|
||||
"settings.paint_side_restrict": "Restrict Brush to Side",
|
||||
"settings.paint_side_restrict.desc": "Restrict brushes to only paint on the current side",
|
||||
"settings.paint_with_stylus_only": "Paint with Stylus Only",
|
||||
"settings.paint_with_stylus_only.desc": "Only use the stylus for painting, reserve mouse or touch input for navigation.",
|
||||
"settings.image_editor": "Image Editor",
|
||||
"settings.image_editor.desc": "Default image editor to edit textures with",
|
||||
|
||||
@ -1491,7 +1493,7 @@
|
||||
"menu.texture.file": "File",
|
||||
"menu.texture.refresh": "Refresh",
|
||||
"menu.texture.change": "Change File",
|
||||
"menu.texture.folder": "Open in Folder",
|
||||
"menu.texture.folder": "Show in File Explorer",
|
||||
"menu.texture.render_mode": "Render Mode",
|
||||
"menu.texture.render_mode.default": "Default",
|
||||
"menu.texture.render_mode.emissive": "Emissive",
|
||||
|
Loading…
Reference in New Issue
Block a user