mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-21 12:20:39 +00:00
MultiSelect: Box-Select: uses SetActiveIdUsingAllKeyboardKeys() to avoid nav interference, much like most drag operations.
This commit is contained in:
@@ -7159,6 +7159,7 @@ static void BoxSelectActivateDrag(ImGuiBoxSelectState* bs, ImGuiWindow* window)
|
||||
bs->Window = window;
|
||||
bs->IsStarting = false;
|
||||
ImGui::SetActiveID(bs->ID, window);
|
||||
ImGui::SetActiveIdUsingAllKeyboardKeys();
|
||||
if (bs->IsStartedFromVoid && (bs->KeyMods & (ImGuiMod_Ctrl | ImGuiMod_Shift)) == 0)
|
||||
bs->RequestClear = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user