mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-30 22:34:13 +00:00
Fix panic with many participants
This commit is contained in:
parent
bc09ce6ffc
commit
981858ef3c
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ impl Color {
|
||||||
Color::Info => cx.theme().status().info,
|
Color::Info => cx.theme().status().info,
|
||||||
Color::Placeholder => cx.theme().colors().text_placeholder,
|
Color::Placeholder => cx.theme().colors().text_placeholder,
|
||||||
Color::Accent => cx.theme().colors().text_accent,
|
Color::Accent => cx.theme().colors().text_accent,
|
||||||
Color::Player(i) => cx.theme().styles.player.0[i.clone() as usize].cursor,
|
Color::Player(i) => cx.theme().styles.player.color_for_participant(*i).cursor,
|
||||||
Color::Error => cx.theme().status().error,
|
Color::Error => cx.theme().status().error,
|
||||||
Color::Selected => cx.theme().colors().text_accent,
|
Color::Selected => cx.theme().colors().text_accent,
|
||||||
Color::Success => cx.theme().status().success,
|
Color::Success => cx.theme().status().success,
|
||||||
|
|
Loading…
Reference in a new issue