#7056 - Gizmo cut input set to use current locale

This commit is contained in:
enricoturri1966 2021-10-04 11:12:29 +02:00
parent e533d237f9
commit 4103086a6e
2 changed files with 2 additions and 2 deletions

View file

@ -359,7 +359,7 @@ bool ImGuiWrapper::image_button()
bool ImGuiWrapper::input_double(const std::string &label, const double &value, const std::string &format)
{
return ImGui::InputDouble(label.c_str(), const_cast<double*>(&value), 0.0f, 0.0f, format.c_str());
return ImGui::InputDouble(label.c_str(), const_cast<double*>(&value), 0.0f, 0.0f, format.c_str(), ImGuiInputTextFlags_CharsDecimal);
}
bool ImGuiWrapper::input_double(const wxString &label, const double &value, const std::string &format)