diff --git a/src/overlay.cpp b/src/overlay.cpp index b36ad68..4111fd4 100644 --- a/src/overlay.cpp +++ b/src/overlay.cpp @@ -1237,7 +1237,7 @@ void render_mango(swapchain_stats& data, struct overlay_params& params, ImVec2& } ImGui::EndTable(); if (params.enabled[OVERLAY_PARAM_ENABLED_frame_timing]){ - ImGui::Dummy(ImVec2(0.0f, params.font_size * params.font_scale / 2)); + ImGui::Dummy(ImVec2(0.0f, 8.0f)); ImGui::PushFont(data.font1); ImGui::TextColored(data.colors.engine, "%s", "Frametime"); ImGui::PopFont(); @@ -1258,7 +1258,7 @@ void render_mango(swapchain_stats& data, struct overlay_params& params, ImVec2& ImGui::PopStyleColor(); } ImGui::End(); - window_size = ImVec2(window_size.x, ImGui::GetCursorPosY() + 150.0f); + window_size = ImVec2(window_size.x, 200); } void render_imgui(swapchain_stats& data, struct overlay_params& params, ImVec2& window_size, bool is_vulkan)