diff --git a/profiler/src/main.cpp b/profiler/src/main.cpp index 396ff388..85d93319 100644 --- a/profiler/src/main.cpp +++ b/profiler/src/main.cpp @@ -210,7 +210,6 @@ int main( int argc, char** argv ) style.FrameBorderSize = 1.f * dpiScale; style.FrameRounding = 5.f * dpiScale; style.ScrollbarSize *= dpiScale; - style.Colors[ImGuiCol_WindowBg] = ImVec4( 0.11f, 0.11f, 0.08f, 0.94f ); style.Colors[ImGuiCol_ScrollbarBg] = ImVec4( 1, 1, 1, 0.03f ); ImVec4 clear_color = ImColor(114, 144, 154); @@ -248,6 +247,7 @@ int main( int argc, char** argv ) glfwSetWindowTitle( window, title ); } + style.Colors[ImGuiCol_WindowBg] = ImVec4( 0.129f, 0.137f, 0.11f, 1.f ); ImGui::Begin( "Get started", nullptr, ImGuiWindowFlags_AlwaysAutoResize ); char buf[128]; sprintf( buf, "Tracy Profiler %i.%i.%i", tracy::Version::Major, tracy::Version::Minor, tracy::Version::Patch ); diff --git a/server/TracyView.cpp b/server/TracyView.cpp index cf8a30ff..46afecdd 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -736,6 +736,7 @@ bool View::DrawImpl() style.WindowRounding = 0.f; style.WindowBorderSize = 0.f; style.WindowPadding = ImVec2( 4.f, 4.f ); + style.Colors[ImGuiCol_WindowBg] = ImVec4( 0.129f, 0.137f, 0.11f, 1.f ); ImGui::SetNextWindowPos( ImVec2( 0, 0 ) ); ImGui::SetNextWindowSize( ImVec2( m_rootWidth, m_rootHeight ) ); @@ -744,6 +745,7 @@ bool View::DrawImpl() style.WindowRounding = wrPrev; style.WindowBorderSize = wbsPrev; style.WindowPadding = wpPrev; + style.Colors[ImGuiCol_WindowBg] = ImVec4( 0.11f, 0.11f, 0.08f, 1.f ); #else char tmp[2048]; sprintf( tmp, "%s###Profiler", m_worker.GetCaptureName().c_str() );