Fix keymap tooltips
This commit is contained in:
@@ -42,7 +42,7 @@ class TabLayers {
|
||||
History.newLayer();
|
||||
}
|
||||
if (ui.button(tr("2D View"))) UISidebar.inst.show2DView(View2DLayer);
|
||||
else if (ui.isHovered) ui.tooltip(tr("Show 2D View") + ' (${Config.keymap.toggle_node_editor})');
|
||||
else if (ui.isHovered) ui.tooltip(tr("Show 2D View") + ' (${Config.keymap.toggle_2d_view})');
|
||||
|
||||
var ar = [tr("All")];
|
||||
for (p in Project.paintObjects) ar.push(p.name);
|
||||
|
||||
@@ -42,7 +42,7 @@ class TabMaterials {
|
||||
if (ui.button(tr("Nodes"))) {
|
||||
UISidebar.inst.showMaterialNodes();
|
||||
}
|
||||
else if (ui.isHovered) ui.tooltip(tr("Show Node Editor") + ' (${Config.keymap.toggle_2d_view})');
|
||||
else if (ui.isHovered) ui.tooltip(tr("Show Node Editor") + ' (${Config.keymap.toggle_node_editor})');
|
||||
ui.endSticky();
|
||||
ui.separator(3, false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user