diff --git a/src/d/d_camera.cpp b/src/d/d_camera.cpp index 7dc4fd21ce..ff11b52362 100644 --- a/src/d/d_camera.cpp +++ b/src/d/d_camera.cpp @@ -7595,7 +7595,7 @@ bool dCamera_c::executeDebugFlyCam() { if (ImGui::IsKeyDown(ImGuiKey_Q)) rollInput -= 1.0f; if (ImGui::IsKeyDown(ImGuiKey_E)) rollInput += 1.0f; } - bool mouseValid = !io.WantCaptureMouse && io.MousePos.x >= 0.0f && io.MousePos.y >= 0.0f; + bool mouseValid = !io.WantCaptureMouse && io.MousePos.x >= 0.0f && io.MousePos.y >= 0.0f && ImGui::IsMouseDown(ImGuiMouseButton_Right); if (mouseValid && sFlyCamLastMousePos.x >= 0.0f) { cStickX -= (io.MousePos.x - sFlyCamLastMousePos.x) * 2.0f; cStickY -= (io.MousePos.y - sFlyCamLastMousePos.y) * 2.0f; diff --git a/src/dusk/imgui/ImGuiCameraOverlay.cpp b/src/dusk/imgui/ImGuiCameraOverlay.cpp index 320c41ec92..3b859769b9 100644 --- a/src/dusk/imgui/ImGuiCameraOverlay.cpp +++ b/src/dusk/imgui/ImGuiCameraOverlay.cpp @@ -64,10 +64,15 @@ namespace dusk { if (eventRunning) { ImGui::SetTooltip("Cannot enable while paused or during an active event."); } else { - ImGui::SetTooltip("Detach camera and fly freely.\n" - "WASD/Arrows/Left stick: move, Mouse/C-stick: look\n" - "Ctrl/L: down, Space/R: up, Shift/Z: fast\n" - "Q Key/Y: roll left, R Key/X: roll right"); + ImGui::SetTooltip("Detach camera and fly freely.\n\n" + "Controls:\n" + "WASD/Arrows/Left stick - Move\n" + "Right Click+Mouse/C-stick - Look\n" + "Ctrl/L - Down\n" + "Space/R - Up\n" + "Shift/Z - Faster\n" + "Q Key/Y - Roll Left\n" + "R Key/X - Roll Right"); } } if (eventRunning) {