Hud_elements: fix formatting for device_battery when in horizontal layout

pull/1133/head
Alessandro Toia 4 months ago
parent 267a431eef
commit 733fbe03fa

@ -1187,7 +1187,8 @@ void HudElements::device_battery()
right_aligned_text(HUDElements.colors.text,HUDElements.ralign_width, "%s", battery.c_str());
}
}
ImGui::TableNextRow();
if (device_count > 1 && !HUDElements.params->enabled[OVERLAY_PARAM_ENABLED_horizontal])
ImGui::TableNextRow();
ImGui::PopFont();
}
}

Loading…
Cancel
Save