feat(Handling): Allow a broader range on the sliders (#1986)

This commit is contained in:
GTMoraes 2023-08-18 11:03:10 -03:00 committed by GitHub
parent a47af68384
commit 9a51d381c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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, 1.f, 10.f);
ImGui::DragFloat("###handling_acceleration", &g_local_player->m_vehicle->m_handling_data->m_acceleration, .01f, .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, 0.f, 10.f);
ImGui::DragFloat("###handling_downforce", &g_local_player->m_vehicle->m_handling_data->m_downforce_multiplier, .01f, .01f, 10.f);
ImGui::Text("HANDLING_INERTIA_MULTIPLIER"_T.data());
float fInertiaMult[3];
@ -27,4 +27,4 @@ namespace big
ImGui::EndTabItem();
}
}
};
};