misc stuff

This commit is contained in:
Green Sky
2025-09-02 10:57:34 +02:00
parent 3bf46dcaba
commit b6a68c830e
3 changed files with 4 additions and 2 deletions

View File

@@ -81,7 +81,7 @@ float CRDTNotesSync::iterate(float time_delta) {
_fetch_frontier_queue.erase(it);
}
return 1.f;
return 2.f;
}
CRDTNotes::Doc* CRDTNotesSync::getDoc(const CRDTNotes::DocID& doc_id) {

View File

@@ -106,6 +106,7 @@ float CRDTNotesImGui::render(void) {
const std::string docid_str = "Doc " + detail::to_hex(docid);
bool open = true;
ImGui::SetNextWindowSize({200, 200}, ImGuiCond_Appearing);
if (ImGui::Begin(docid_str.c_str(), &open)) {
renderDoc(docid);
}
@@ -120,7 +121,7 @@ float CRDTNotesImGui::render(void) {
}
}
return 1.f;
return 2.f;
}
bool CRDTNotesImGui::renderContactListContactSmall(const Contact4 c, const bool selected) const {