mirror of https://github.com/WerWolv/ImHex.git
ui: Make sure sealed patterns get highlighted properly when selected
This commit is contained in:
parent
9055105627
commit
c6d2d51d4c
|
@ -81,7 +81,7 @@ namespace hex {
|
|||
bool createTreeNode(const pl::ptrn::Pattern& pattern) {
|
||||
if (pattern.isSealed()) {
|
||||
ImGui::Indent();
|
||||
ImGui::TextUnformatted(pattern.getDisplayName().c_str());
|
||||
highlightWhenSelected(pattern, [&]{ ImGui::TextUnformatted(pattern.getDisplayName().c_str()); });
|
||||
ImGui::Unindent();
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue