fix: Remove extra pixel from Hex Editor selection frame

This commit is contained in:
WerWolv
2025-05-24 16:19:13 +02:00
parent 553549302c
commit bd8c4e807c

View File

@@ -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();
}