contact line hight and refactor avatar and add connection overlay

This commit is contained in:
2024-04-21 20:24:01 +02:00
parent b88fffd959
commit eaa8f1dd16
3 changed files with 172 additions and 56 deletions

View File

@ -222,7 +222,7 @@ float ChatGui4::render(float time_delta) {
ImGui::EndMenuBar();
}
renderContactBig(_theme, _contact_tc, {_cr, *_selected_contact}, false, false, false);
renderContactBig(_theme, _contact_tc, {_cr, *_selected_contact}, 3, false, false, false);
ImGui::Separator();
if (sub_contacts != nullptr && !_cr.all_of<Contact::Components::TagPrivate>(*_selected_contact) && _cr.all_of<Contact::Components::TagGroup>(*_selected_contact)) {
@ -1097,7 +1097,7 @@ void ChatGui4::renderContactList(void) {
}
}
if (renderContactBig(_theme, _contact_tc, {_cr, c}, has_unread, true, selected)) {
if (renderContactBig(_theme, _contact_tc, {_cr, c}, 2, has_unread, true, selected)) {
_selected_contact = c;
}
}