ui: Make sure ASCII cell content in hex editor is always centered
This commit is contained in:
parent
f0da6ec82f
commit
ce8c64a679
@ -941,6 +941,7 @@ namespace hex::plugin::builtin {
|
|||||||
this->drawSelectionFrame(x, y, byteAddress, 1, cellStartPos, cellSize);
|
this->drawSelectionFrame(x, y, byteAddress, 1, cellStartPos, cellSize);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ImGui::SetCursorPosX(ImGui::GetCursorPosX() + this->m_characterCellPadding / 2);
|
||||||
if (!isCurrRegionValid(byteAddress))
|
if (!isCurrRegionValid(byteAddress))
|
||||||
ImGui::TextFormatted("?");
|
ImGui::TextFormatted("?");
|
||||||
else if (std::isprint(bytes[x]))
|
else if (std::isprint(bytes[x]))
|
||||||
|
Loading…
Reference in New Issue
Block a user