Changed alpha of gizmo wireframes to 0.5f and fixed viewport selection

This commit is contained in:
Antoine Pilote
2023-08-01 19:29:09 -04:00
parent fe44329a17
commit 1221e58fcd
4 changed files with 26 additions and 26 deletions

View File

@@ -246,7 +246,7 @@ namespace Nuake {
}
m_IsViewportFocused = ImGui::IsWindowFocused();
if (m_IsHoveringViewport && Input::IsMouseButtonPressed(GLFW_MOUSE_BUTTON_2) && !ImGuizmo::IsUsing())
if (m_IsHoveringViewport && Input::IsMouseButtonPressed(GLFW_MOUSE_BUTTON_1) && !ImGuizmo::IsUsing())
{
ImGui::FocusWindow(ImGui::GetCurrentWindow());