Show add participant popover on click

This commit is contained in:
Antonio Scandurra
2022-09-28 11:33:38 +02:00
parent 782309f369
commit 0db6eb2fb8
4 changed files with 114 additions and 38 deletions
+10 -1
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)]