Rename player
to players
This commit is contained in:
parent
0867175a4e
commit
437d147935
4 changed files with 6 additions and 6 deletions
|
@ -140,12 +140,12 @@ impl Player {
|
|||
|
||||
pub fn cursor_color<S: 'static>(&self, cx: &mut ViewContext<S>) -> Hsla {
|
||||
let theme = theme(cx);
|
||||
theme.player[self.index].cursor
|
||||
theme.players[self.index].cursor
|
||||
}
|
||||
|
||||
pub fn selection_color<S: 'static>(&self, cx: &mut ViewContext<S>) -> Hsla {
|
||||
let theme = theme(cx);
|
||||
theme.player[self.index].selection
|
||||
theme.players[self.index].selection
|
||||
}
|
||||
|
||||
pub fn avatar_src(&self) -> &str {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue