Rename color_index to participant_index

Co-authored-by: Conrad <conrad@zed.dev>
This commit is contained in:
Max Brunsfeld
2023-09-28 11:37:22 -07:00
co-authored by Conrad
parent 545b5e0161
commit 0f39b63801
17 changed files with 97 additions and 80 deletions
+1 -1
View File
@@ -191,7 +191,7 @@ impl Member {
if let Some(leader) = &leader {
let leader_color = theme
.editor
.replica_selection_style(leader.color_index)
.selection_style_for_room_participant(leader.participant_index.0)
.cursor;
leader_border = Border::all(theme.workspace.leader_border_width, leader_color);
leader_border