1
0
mirror of synced 2025-01-31 12:03:46 +01:00

ui: Fix displaying of advanced decoding row with multi-byte visualizers

This commit is contained in:
WerWolv 2022-08-06 13:23:40 +02:00
parent a97f853110
commit b2b753c2b3

View File

@ -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