mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-01 21:17:44 -05:00
fix: Rendering of pattern array entries not working correctly
This commit is contained in:
@@ -368,7 +368,7 @@ namespace hex {
|
||||
void PatternDrawer::drawArrayNode(u64 idx, u64& displayEnd, pl::ptrn::Pattern& pattern) {
|
||||
u64 lastVisible = displayEnd - 1;
|
||||
|
||||
ImGui::PushID(&pattern);
|
||||
ImGui::PushID(reinterpret_cast<void*>(pattern.getOffset()));
|
||||
|
||||
if (idx < lastVisible) {
|
||||
this->draw(pattern);
|
||||
|
||||
Reference in New Issue
Block a user