mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-11 12:46:07 +00:00
Don't have contacts popover affect appearance of Share/Unshare button
This commit is contained in:
parent
f5a2534c1b
commit
14ef0edd7f
1 changed files with 1 additions and 3 deletions
|
@ -459,9 +459,7 @@ impl CollabTitlebarItem {
|
||||||
.with_child(
|
.with_child(
|
||||||
MouseEventHandler::<ShareUnshare>::new(0, cx, |state, _| {
|
MouseEventHandler::<ShareUnshare>::new(0, cx, |state, _| {
|
||||||
//TODO: Ensure this button has consistant width for both text variations
|
//TODO: Ensure this button has consistant width for both text variations
|
||||||
let style = titlebar
|
let style = titlebar.share_button.style_for(state, false);
|
||||||
.share_button
|
|
||||||
.style_for(state, self.contacts_popover.is_some());
|
|
||||||
Label::new(label, style.text.clone())
|
Label::new(label, style.text.clone())
|
||||||
.contained()
|
.contained()
|
||||||
.with_style(style.container)
|
.with_style(style.container)
|
||||||
|
|
Loading…
Reference in a new issue