hud_elements: Handle hiding app frametime

Currently this just shows two...
pull/1085/head
Joshua Ashton 10 months ago committed by flightlessmango
parent ef444a740d
commit 6a63b7612b

@ -927,7 +927,7 @@ void HudElements::gamescope_frame_timing(){
static std::vector<float>::iterator min, max;
static double min_time = 0.0f;
static double max_time = 50.0f;
if (HUDElements.gamescope_debug_app.size() > 0){
if (HUDElements.gamescope_debug_app.size() > 0 && HUDElements.gamescope_debug_app.back() > -1){
ImguiNextColumnFirstItem();
ImGui::Dummy(ImVec2(0.0f, real_font_size.y));
ImGui::PushFont(HUDElements.sw_stats->font1);

Loading…
Cancel
Save