ui: Fix displaying of advanced decoding row with multi-byte visualizers
This commit is contained in:
parent
a97f853110
commit
b2b753c2b3
@ -866,7 +866,7 @@ namespace hex::plugin::builtin {
|
||||
|
||||
|
||||
const auto x = address % this->m_bytesPerRow;
|
||||
if (x < validBytes / bytesPerCell) {
|
||||
if (x < validBytes) {
|
||||
auto [foregroundColor, backgroundColor] = cellColors[x / bytesPerCell];
|
||||
|
||||
// Draw highlights and selection
|
||||
|
Loading…
x
Reference in New Issue
Block a user