fix: Main window being hard to resize when bytes are selected in the hex editor view

This commit is contained in:
WerWolv
2024-04-12 22:55:54 +02:00
parent 43070a1f5b
commit 43149498cf

View File

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