impr: Hide segment number in hex editor when holding down shift
This commit is contained in:
parent
2c2d3b2de3
commit
8c4c4f5e8b
@ -589,7 +589,7 @@ namespace hex::ui {
|
||||
|
||||
const auto rowAddress = y * m_bytesPerRow + m_provider->getBaseAddress() + m_provider->getCurrentPageAddress();
|
||||
|
||||
if (m_separatorStride > 0 && rowAddress % m_separatorStride < m_bytesPerRow)
|
||||
if (m_separatorStride > 0 && rowAddress % m_separatorStride < m_bytesPerRow && !ImGui::GetIO().KeyShift)
|
||||
ImGuiExt::TextFormattedColored(ImGui::GetStyleColorVec4(ImGuiCol_SeparatorActive), "{} {}", "hex.ui.common.segment"_lang, rowAddress / m_separatorStride);
|
||||
else
|
||||
ImGuiExt::TextFormatted(m_upperCaseHex ? "{:08X}: " : "{:08x}: ", rowAddress);
|
||||
|
Loading…
Reference in New Issue
Block a user