diff --git a/src/Application/Application.cpp b/src/Application/Application.cpp index eaa712d..ecade15 100644 --- a/src/Application/Application.cpp +++ b/src/Application/Application.cpp @@ -451,7 +451,7 @@ Application::drawVector3dDrag(Containers::StringView id, Vector3d& vec, float sp ImGui::DragScalar("##Y", ImGuiDataType_Double, &vec.y(), speed, &min.y(), &max.y(), y_format, flags); ImGui::PopItemWidth(); ImGui::SameLine(0.0f, ImGui::GetStyle().ItemInnerSpacing.x); - ImGui::DragScalar("##X", ImGuiDataType_Double, &vec.x(), speed, &min.z(), &max.z(), z_format, flags); + ImGui::DragScalar("##Z", ImGuiDataType_Double, &vec.z(), speed, &min.z(), &max.z(), z_format, flags); ImGui::PopItemWidth(); ImGui::PopID(); } @@ -486,7 +486,7 @@ Application::drawVector3dSlider(Containers::StringView id, Vector3d& vec, Vector ImGui::SliderScalar("##Y", ImGuiDataType_Double, &vec.y(), &min.y(), &max.y(), y_format, flags); ImGui::PopItemWidth(); ImGui::SameLine(0.0f, ImGui::GetStyle().ItemInnerSpacing.x); - ImGui::SliderScalar("##X", ImGuiDataType_Double, &vec.x(), &min.z(), &max.z(), z_format, flags); + ImGui::SliderScalar("##Z", ImGuiDataType_Double, &vec.z(), &min.z(), &max.z(), z_format, flags); ImGui::PopItemWidth(); ImGui::PopID(); }