mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-02-11 06:48:43 -06:00
patterns: Fixed highlighting of custom sections
This commit is contained in:
@@ -21,6 +21,8 @@ namespace hex::plugin::builtin {
|
||||
EventManager::subscribe<EventProviderChanged>(this, [this](auto, auto) {
|
||||
this->m_patternDrawer.reset();
|
||||
});
|
||||
|
||||
this->m_patternDrawer.setSelectionCallback([](Region region){ ImHexApi::HexEditor::setSelection(region); });
|
||||
}
|
||||
|
||||
ViewPatternData::~ViewPatternData() {
|
||||
|
||||
Reference in New Issue
Block a user