diff --git a/platforms/desktop-shared/gui.cpp b/platforms/desktop-shared/gui.cpp index 016ba57..b0ca666 100644 --- a/platforms/desktop-shared/gui.cpp +++ b/platforms/desktop-shared/gui.cpp @@ -138,7 +138,8 @@ void gui_render(void) { ImGui::NewFrame(); - ImGui::DockSpaceOverViewport(); + if (config_debug.debug) + ImGui::DockSpaceOverViewport(); gui_in_use = dialog_in_use;