From bd8c4e807cbb8c8370e88b55ab9f3d93f4552c1a Mon Sep 17 00:00:00 2001 From: WerWolv Date: Sat, 24 May 2025 16:19:13 +0200 Subject: [PATCH] fix: Remove extra pixel from Hex Editor selection frame --- plugins/ui/source/ui/hex_editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/ui/source/ui/hex_editor.cpp b/plugins/ui/source/ui/hex_editor.cpp index df2e81500..a796f3207 100644 --- a/plugins/ui/source/ui/hex_editor.cpp +++ b/plugins/ui/source/ui/hex_editor.cpp @@ -499,7 +499,7 @@ namespace hex::ui { // Draw horizontal line at the bottom of the bytes if ((byteAddress + m_bytesPerRow) > region.getEndAddress()) - drawList->AddLine(ImTrunc(cellPos + ImVec2(0, cellSize.y)), ImTrunc(cellPos + cellSize + scaled({ 1, 0 })), frameColor, 1_scaled); + drawList->AddLine(ImTrunc(cellPos + ImVec2(0, cellSize.y)), ImTrunc(cellPos + cellSize), frameColor, 1_scaled); drawList->PopClipRect(); }