mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
patterns: Fixed jumping to and displaying tooltips of static array entries
This commit is contained in:
@@ -229,7 +229,7 @@ namespace hex::plugin::builtin {
|
||||
for (const auto &pattern : patterns) {
|
||||
auto child = pattern->getPattern(address);
|
||||
if (child != nullptr) {
|
||||
return ImHexApi::HexEditor::Highlighting(Region { address, 1 }, child->getColor(), child->getVariableName());
|
||||
return ImHexApi::HexEditor::Highlighting(Region { address, 1 }, child->getColor(), child->getDisplayName());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -672,7 +672,7 @@ namespace hex::plugin::builtin {
|
||||
}
|
||||
|
||||
if (result) {
|
||||
EventManager::post<EventHighlightingChanged>();
|
||||
ImHexApi::HexEditor::invalidateHighlight();
|
||||
}
|
||||
|
||||
this->m_runningEvaluators--;
|
||||
|
||||
Reference in New Issue
Block a user