Always set proper numeric locale.

This commit is contained in:
Bartosz Taudul 2020-08-15 16:19:36 +02:00
parent 28af5230d3
commit 046df82ccc

View File

@ -465,6 +465,8 @@ static void DrawContents()
ImGui::NewFrame();
tracy::MouseFrame();
setlocale( LC_NUMERIC, "C" );
if( !view )
{
if( s_customTitle )
@ -546,7 +548,6 @@ static void DrawContents()
}
}
setlocale( LC_NUMERIC, "C" );
auto& style = ImGui::GetStyle();
style.Colors[ImGuiCol_WindowBg] = ImVec4( 0.129f, 0.137f, 0.11f, 1.f );
ImGui::Begin( "Get started", nullptr, ImGuiWindowFlags_AlwaysAutoResize );