mirror of
https://github.com/flightlessmango/MangoHud.git
synced 2024-10-31 15:20:13 +00:00
Draw versions after table so they don't get clipped
This commit is contained in:
parent
76cd637755
commit
1915352c86
@ -1210,8 +1210,12 @@ void render_imgui(swapchain_stats& data, struct overlay_params& params, ImVec2&
|
||||
ImGui::PushFont(data.font1);
|
||||
ImGui::Text("ms");
|
||||
ImGui::PopFont();
|
||||
ImGui::TableNextRow();
|
||||
}
|
||||
ImGui::EndTable();
|
||||
|
||||
if (params.enabled[OVERLAY_PARAM_ENABLED_fps]){
|
||||
ImGui::PushFont(data.font1);
|
||||
ImGui::Dummy(ImVec2(0, 8.0f));
|
||||
auto engine_color = ImGui::ColorConvertU32ToFloat4(params.engine_color);
|
||||
if (is_vulkan) {
|
||||
if ((engineName == "DXVK" || engineName == "VKD3D")){
|
||||
@ -1233,7 +1237,6 @@ void render_imgui(swapchain_stats& data, struct overlay_params& params, ImVec2&
|
||||
}
|
||||
ImGui::PopFont();
|
||||
}
|
||||
ImGui::EndTable();
|
||||
|
||||
if (loggingOn && log_period == 0){
|
||||
uint64_t now = os_time_get();
|
||||
|
Loading…
Reference in New Issue
Block a user