16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-19 07:39:19 +02:00

desync info tweaks

This commit is contained in:
milek7
2019-11-17 14:02:24 +01:00
parent c31af696c4
commit a16cf6cdab
4 changed files with 14 additions and 4 deletions

View File

@@ -261,4 +261,11 @@ driver_ui::render_() {
m_pause_modal_opened = true;
ImGui::OpenPopup(popupheader);
}
if (Global.desync != 0.0f) {
ImGui::SetNextWindowSize(ImVec2(-1, -1));
if (ImGui::Begin("network", nullptr, ImGuiWindowFlags_NoCollapse))
ImGui::Text("desync: %0.2f", Global.desync);
ImGui::End();
}
}