This commit is contained in:
Mikayla Maki 2023-06-28 08:44:17 -07:00
parent 9ab0efa1f8
commit 88b30dea10
No known key found for this signature in database

View file

@ -668,7 +668,7 @@ impl CollabTitlebarItem {
avatar_img, avatar_img,
*avatar_style, *avatar_style,
Color::transparent_black(), Color::transparent_black(),
None None,
)); ));
}; };
@ -876,7 +876,7 @@ impl CollabTitlebarItem {
avatar.clone(), avatar.clone(),
Self::location_style(workspace, location, leader_style, cx), Self::location_style(workspace, location, leader_style, cx),
background_color, background_color,
microphone_state microphone_state,
)) ))
.with_children( .with_children(
(|| { (|| {
@ -908,7 +908,7 @@ impl CollabTitlebarItem {
avatar.clone(), avatar.clone(),
follower_style, follower_style,
background_color, background_color,
None None,
)) ))
})) }))
})() })()
@ -1027,7 +1027,7 @@ impl CollabTitlebarItem {
avatar: Arc<ImageData>, avatar: Arc<ImageData>,
avatar_style: AvatarStyle, avatar_style: AvatarStyle,
background_color: Color, background_color: Color,
microphone_state: Option<Color> microphone_state: Option<Color>,
) -> AnyElement<V> { ) -> AnyElement<V> {
Image::from_data(avatar) Image::from_data(avatar)
.with_style(avatar_style.image) .with_style(avatar_style.image)