mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-28 15:44:20 +03:00
Adds a little spacing between the share button and the screenshare icon
This commit is contained in:
parent
37ca232548
commit
1820be4990
@ -54,6 +54,7 @@ impl View for CollabTitlebarItem {
|
|||||||
let theme = cx.global::<Settings>().theme.clone();
|
let theme = cx.global::<Settings>().theme.clone();
|
||||||
|
|
||||||
let mut container = Flex::row();
|
let mut container = Flex::row();
|
||||||
|
|
||||||
container.add_children(self.render_toggle_screen_sharing_button(&theme, cx));
|
container.add_children(self.render_toggle_screen_sharing_button(&theme, cx));
|
||||||
|
|
||||||
if workspace.read(cx).client().status().borrow().is_connected() {
|
if workspace.read(cx).client().status().borrow().is_connected() {
|
||||||
@ -324,6 +325,8 @@ impl CollabTitlebarItem {
|
|||||||
cx,
|
cx,
|
||||||
)
|
)
|
||||||
.aligned()
|
.aligned()
|
||||||
|
.contained()
|
||||||
|
.with_margin_left(theme.workspace.titlebar.avatar_margin)
|
||||||
.boxed()
|
.boxed()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user