fix: Wrong header location in disassembler view
This commit is contained in:
parent
df5e01d4eb
commit
36014b706d
@ -138,10 +138,10 @@ namespace hex::plugin::disasm {
|
|||||||
void ViewDisassembler::drawContent() {
|
void ViewDisassembler::drawContent() {
|
||||||
auto provider = ImHexApi::Provider::get();
|
auto provider = ImHexApi::Provider::get();
|
||||||
if (ImHexApi::Provider::isValid() && provider->isReadable()) {
|
if (ImHexApi::Provider::isValid() && provider->isReadable()) {
|
||||||
ImGuiExt::Header("hex.disassembler.view.disassembler.position"_lang, true);
|
|
||||||
|
|
||||||
// Draw region selection picker
|
// 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
|
// Draw base address input
|
||||||
ImGuiExt::InputHexadecimal("hex.disassembler.view.disassembler.image_load_address"_lang, &m_imageLoadAddress, ImGuiInputTextFlags_CharsHexadecimal);
|
ImGuiExt::InputHexadecimal("hex.disassembler.view.disassembler.image_load_address"_lang, &m_imageLoadAddress, ImGuiInputTextFlags_CharsHexadecimal);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user