File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ void Window::update() {
8888 if (ImGui::BeginMenu (" View" )) {
8989 ImGui::MenuItem (" Some Panel" , nullptr , &m_show_some_panel);
9090 ImGui::MenuItem (" ImGui Demo Panel" , nullptr , &m_show_demo_panel);
91- ImGui::MenuItem (" Debug Panel " , nullptr , &m_show_debug_panel);
91+ ImGui::MenuItem (" Debug Panels " , nullptr , &m_show_debug_panel);
9292 ImGui::EndMenu ();
9393 }
9494
@@ -111,7 +111,10 @@ void Window::update() {
111111 if (m_show_debug_panel) {
112112 const ImGuiIO& io{ImGui::GetIO ()};
113113
114- ImGui::Begin (" Debug panel" , &m_show_debug_panel);
114+ ImGui::ShowMetricsWindow ();
115+ ImGui::ShowDebugLogWindow ();
116+
117+ ImGui::Begin (" App debug panel" , &m_show_debug_panel);
115118 ImGui::Text (" Current SDL_Renderer: %s" , SDL_GetRendererName (m_renderer));
116119 ImGui::Text (" User config path: %s" , m_user_config_path.c_str ());
117120 ImGui::Text (" Global font scaling %f" , io.FontGlobalScale );
You can’t perform that action at this time.
0 commit comments