fix: Added missing pattern data favorites lang entry
This commit is contained in:
parent
1134697b90
commit
cc55e5ec74
@ -361,6 +361,7 @@
|
||||
"hex.builtin.nodes.visualizer.layered_dist.header": "Layered Distribution",
|
||||
"hex.builtin.pattern_drawer.color": "Color",
|
||||
"hex.builtin.pattern_drawer.double_click": "Double-click to see more items",
|
||||
"hex.builtin.pattern_drawer.favorites": "Favorites",
|
||||
"hex.builtin.pattern_drawer.local": "Local",
|
||||
"hex.builtin.pattern_drawer.offset": "Offset",
|
||||
"hex.builtin.pattern_drawer.size": "Size",
|
||||
|
@ -1039,7 +1039,7 @@ namespace hex::plugin::builtin::ui {
|
||||
ImGui::TableNextColumn();
|
||||
ImGui::TableNextColumn();
|
||||
ImGui::PushID(1);
|
||||
if (ImGui::TreeNodeEx("Favorites", ImGuiTreeNodeFlags_SpanFullWidth)) {
|
||||
if (ImGui::TreeNodeEx("hex.builtin.pattern_drawer.favorites"_lang, ImGuiTreeNodeFlags_SpanFullWidth)) {
|
||||
for (auto &[path, pattern] : this->m_favorites) {
|
||||
ImGui::PushID(pattern->getDisplayName().c_str());
|
||||
this->draw(*pattern);
|
||||
|
Loading…
Reference in New Issue
Block a user