mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
Fix action bar keyboard shortcuts not working
Added ImGuiWindowFlags_NoInputs to action bar window so it doesn't capture keyboard input. Previously, hovering over or clicking the action bar would set WantCaptureKeyboard=true, blocking the 1-9,0,-,= hotkeys from working.
This commit is contained in:
parent
0ce23cf7bd
commit
dbf3038560
1 changed files with 1 additions and 1 deletions
|
|
@ -2324,7 +2324,7 @@ void GameScreen::renderActionBar(game::GameHandler& gameHandler) {
|
|||
|
||||
ImGuiWindowFlags flags = ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoMove |
|
||||
ImGuiWindowFlags_NoCollapse | ImGuiWindowFlags_NoTitleBar |
|
||||
ImGuiWindowFlags_NoScrollbar;
|
||||
ImGuiWindowFlags_NoScrollbar | ImGuiWindowFlags_NoInputs;
|
||||
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_WindowRounding, 4.0f);
|
||||
ImGui::PushStyleColor(ImGuiCol_WindowBg, ImVec4(0.05f, 0.05f, 0.05f, 0.9f));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue