From 96ef983cfb98184d101771a37a177fc38437b3f2 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Mon, 6 Jan 2025 20:14:27 +0100 Subject: [PATCH] fix: ASCII column not getting highlighted anymore --- plugins/ui/source/ui/hex_editor.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/ui/source/ui/hex_editor.cpp b/plugins/ui/source/ui/hex_editor.cpp index d6131b598..da4f4ea33 100644 --- a/plugins/ui/source/ui/hex_editor.cpp +++ b/plugins/ui/source/ui/hex_editor.cpp @@ -788,6 +788,8 @@ namespace hex::ui { // Draw highlights and selection if (backgroundColor.has_value()) { + this->drawBackgroundHighlight(cellStartPos, asciiCellSize, backgroundColor.value()); + this->drawSelection(x, y, selection, byteAddress, 1, cellStartPos, asciiCellSize, ImGui::GetStyleColorVec4(ImGuiCol_Text)); } @@ -888,6 +890,8 @@ namespace hex::ui { // Draw highlights and selection if (backgroundColor.has_value()) { + this->drawBackgroundHighlight(cellStartPos, cellSize, backgroundColor.value()); + this->drawSelection(x, y, selection, address, 1, cellStartPos, cellSize, ImGui::GetStyleColorVec4(ImGuiCol_Text)); }