1
0
mirror of synced 2025-01-10 21:41:53 +01:00

fix: Wrong header location in disassembler view

This commit is contained in:
WerWolv 2024-12-15 10:52:11 +01:00
parent df5e01d4eb
commit 36014b706d

View File

@ -138,10 +138,10 @@ namespace hex::plugin::disasm {
void ViewDisassembler::drawContent() {
auto provider = ImHexApi::Provider::get();
if (ImHexApi::Provider::isValid() && provider->isReadable()) {
ImGuiExt::Header("hex.disassembler.view.disassembler.position"_lang, true);
// Draw region selection picker
ui::regionSelectionPicker(&m_regionToDisassemble, provider, &m_range);
ui::regionSelectionPicker(&m_regionToDisassemble, provider, &m_range, true, true);
ImGuiExt::Header("hex.disassembler.view.disassembler.position"_lang);
// Draw base address input
ImGuiExt::InputHexadecimal("hex.disassembler.view.disassembler.image_load_address"_lang, &m_imageLoadAddress, ImGuiInputTextFlags_CharsHexadecimal);