1
0
mirror of synced 2025-02-17 18:59:21 +01:00

impr: Added back selection size in hex to the footer

This commit is contained in:
WerWolv 2024-06-07 19:21:38 +02:00
parent de8465a8f4
commit ff20f81cfd

View File

@ -311,7 +311,7 @@ namespace hex::plugin::builtin {
ContentRegistry::Interface::addFooterItem([] {
if (auto selection = ImHexApi::HexEditor::getSelection(); selection.has_value()) {
ImGuiExt::TextFormatted("0x{:02X} - 0x{:02X} ({} bytes)",
ImGuiExt::TextFormatted("0x{0:02X} - 0x{1:02X} (0x{2:02X} | {2} bytes)",
selection->getStartAddress(),
selection->getEndAddress(),
selection->getSize()