Show add participant popover on click

This commit is contained in:
Antonio Scandurra 2022-09-27 14:27:06 +02:00
parent 782309f369
commit 0db6eb2fb8
4 changed files with 114 additions and 38 deletions

View file

@ -74,7 +74,16 @@ pub struct Titlebar {
pub avatar: ImageStyle,
pub sign_in_prompt: Interactive<ContainedText>,
pub outdated_warning: ContainedText,
pub add_collaborator_button: Interactive<IconButton>,
pub add_participant_button: Interactive<IconButton>,
pub add_participant_popover: AddParticipantPopover,
}
#[derive(Clone, Deserialize, Default)]
pub struct AddParticipantPopover {
#[serde(flatten)]
pub container: ContainerStyle,
pub height: f32,
pub width: f32,
}
#[derive(Clone, Deserialize, Default)]