Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cpp/source/basics/interactive_UIs_and_animation.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ myMesh->setSelectionMode(MeshSelectionMode::FacesOnly);

// get the mouse location from ImGui
ImGuiIO& io = ImGui::GetIO();
if (io.MouseClicked[0]) { // if clicked
if (io.MouseClicked[0] && !io.WantCaptureMouse) { // if clicked
glm::vec2 screenCoords{io.MousePos.x, io.MousePos.y};
polyscope::PickResult pickResult = polyscope::pickAtScreenCoords(screenCoords);

Expand Down