mangoapp: frame_timing: set height when not horizontal

pull/841/head^2
FlightlessMango 1 year ago
parent 7eea724f37
commit 8e4857a5c6

@ -598,6 +598,7 @@ void HudElements::frame_timing(){
} else {
const ImVec2 sz = ImGui::CalcTextSize("1000.0ms");
width = ImGui::GetWindowContentRegionWidth() - sz.x;
height = max_time;
}
#else
if (HUDElements.params->enabled[OVERLAY_PARAM_ENABLED_horizontal]){

Loading…
Cancel
Save