Limit number of participants shown in channel face piles

Co-authored-by: Mikayla <mikayla@zed.dev>
This commit is contained in:
Max Brunsfeld 2023-08-14 17:11:03 -07:00
parent 13982fe2f4
commit 71454ba27c
4 changed files with 43 additions and 13 deletions

View file

@ -245,6 +245,15 @@ export default function contacts_panel(): any {
corner_radius: 10,
width: 20,
},
extra_participant_label: {
corner_radius: 10,
padding: {
left: 10,
right: 4,
},
background: background(layer, "hovered"),
...text(layer, "ui_sans", "hovered", { size: "xs" })
},
contact_status_free: indicator({ layer, color: "positive" }),
contact_status_busy: indicator({ layer, color: "negative" }),
contact_username: {