Adds a little spacing between the share button and the screenshare icon

This commit is contained in:
Mikayla Maki 2022-10-31 10:19:06 -07:00
parent 37ca232548
commit 1820be4990

View File

@ -54,6 +54,7 @@ impl View for CollabTitlebarItem {
let theme = cx.global::<Settings>().theme.clone();
let mut container = Flex::row();
container.add_children(self.render_toggle_screen_sharing_button(&theme, cx));
if workspace.read(cx).client().status().borrow().is_connected() {
@ -324,6 +325,8 @@ impl CollabTitlebarItem {
cx,
)
.aligned()
.contained()
.with_margin_left(theme.workspace.titlebar.avatar_margin)
.boxed()
}