Skip to content

Commit 32a659a

Browse files
committed
fix: Command palette losing focus when pressing Alt
Fixes #1651
1 parent 40c4dbc commit 32a659a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugins/builtin/source/content/views/view_command_palette.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ namespace hex::plugin::builtin {
5555
if (ImGui::InputText("##command_input", m_commandBuffer)) {
5656
m_lastResults = this->getCommandResults(m_commandBuffer);
5757
}
58+
ImGui::SetItemKeyOwner(ImGuiKey_LeftAlt, ImGuiInputFlags_CondActive);
5859

5960
ImGui::PopStyleVar(2);
6061
ImGui::PopStyleColor(3);

0 commit comments

Comments
 (0)