diff --git a/src/gui/handling/current_profile/current_profile_brakes.cpp b/src/gui/handling/current_profile/current_profile_brakes.cpp index 5c61543d..1c8cc039 100644 --- a/src/gui/handling/current_profile/current_profile_brakes.cpp +++ b/src/gui/handling/current_profile/current_profile_brakes.cpp @@ -7,7 +7,7 @@ namespace big if (ImGui::BeginTabItem("HANDLING_TAB_BRAKES"_T.data())) { ImGui::Text("HANDLING_BRAKE_FORCE"_T.data()); - ImGui::DragFloat("##brake force", &g_local_player->m_vehicle->m_handling_data->m_brake_force, .01f, 0.f, 10.f); + ImGui::SliderFloat("##brake force", &g_local_player->m_vehicle->m_handling_data->m_brake_force, .01f, 10.f); ImGui::Text("HANDLING_BRAKE_BIAS"_T.data()); float fBrakeBias = g_local_player->m_vehicle->m_handling_data->m_brake_bias_front / 2; @@ -15,7 +15,7 @@ namespace big g_local_player->m_vehicle->m_handling_data->m_brake_bias_front = fBrakeBias * 2; ImGui::Text("HANDLING_HAND_BRAKE_FORCE"_T.data()); - ImGui::DragFloat("##hand brake force", &g_local_player->m_vehicle->m_handling_data->m_handbrake_force, .01f, 0.f, 10.f); + ImGui::SliderFloat("##hand brake force", &g_local_player->m_vehicle->m_handling_data->m_handbrake_force, .01f, 10.f); ImGui::EndTabItem(); } diff --git a/src/gui/handling/current_profile/current_profile_gearing.cpp b/src/gui/handling/current_profile/current_profile_gearing.cpp index 3d419017..706fbb26 100644 --- a/src/gui/handling/current_profile/current_profile_gearing.cpp +++ b/src/gui/handling/current_profile/current_profile_gearing.cpp @@ -12,10 +12,10 @@ namespace big g_local_player->m_vehicle->m_handling_data->m_initial_drive_gears = initial_drive_gears; ImGui::Text("HANDLING_UPSHIFT_MULTIPLIER"_T.data()); - ImGui::DragFloat("###handling_upshift", &g_local_player->m_vehicle->m_handling_data->m_upshift, .01f, 0.f, 10.f); + ImGui::SliderFloat("###handling_upshift", &g_local_player->m_vehicle->m_handling_data->m_upshift, .01f, 10.f); ImGui::Text("HANDLING_DOWNSHIFT_MULTIPLIER"_T.data()); - ImGui::DragFloat("###handling_downshift", &g_local_player->m_vehicle->m_handling_data->m_downshift, .01f, 0.f, 10.f); + ImGui::SliderFloat("###handling_downshift", &g_local_player->m_vehicle->m_handling_data->m_downshift, .01f, 10.f); ImGui::EndTabItem(); } diff --git a/src/gui/handling/current_profile/current_profile_other.cpp b/src/gui/handling/current_profile/current_profile_other.cpp index 1e7556a3..1e378730 100644 --- a/src/gui/handling/current_profile/current_profile_other.cpp +++ b/src/gui/handling/current_profile/current_profile_other.cpp @@ -7,10 +7,10 @@ namespace big if (ImGui::BeginTabItem("HANDLING_TAB_OTHER"_T.data())) { ImGui::Text("HANDLING_ACCELERATION_MULTIPLIER"_T.data()); - ImGui::DragFloat("###handling_acceleration", &g_local_player->m_vehicle->m_handling_data->m_acceleration, .01f, .01f, 10.f); + ImGui::SliderFloat("###handling_acceleration", &g_local_player->m_vehicle->m_handling_data->m_acceleration, .01f, 10.f); ImGui::Text("HANDLING_DOWNFORCE_MULTIPLIER"_T.data()); - ImGui::DragFloat("###handling_downforce", &g_local_player->m_vehicle->m_handling_data->m_downforce_multiplier, .01f, .01f, 10.f); + ImGui::SliderFloat("###handling_downforce", &g_local_player->m_vehicle->m_handling_data->m_downforce_multiplier, .01f, 10.f); ImGui::Text("HANDLING_INERTIA_MULTIPLIER"_T.data()); float fInertiaMult[3];