fix: Command palette losing focus when pressing Alt

Fixes #1651
This commit is contained in:
WerWolv
2024-05-04 21:30:21 +02:00
parent 40c4dbc20e
commit 32a659a477

View File

@@ -55,6 +55,7 @@ namespace hex::plugin::builtin {
if (ImGui::InputText("##command_input", m_commandBuffer)) {
m_lastResults = this->getCommandResults(m_commandBuffer);
}
ImGui::SetItemKeyOwner(ImGuiKey_LeftAlt, ImGuiInputFlags_CondActive);
ImGui::PopStyleVar(2);
ImGui::PopStyleColor(3);