Merge branch 'main' into collab-panel
This commit is contained in:
commit
111e17b220
54 changed files with 1233 additions and 679 deletions
|
@ -164,7 +164,7 @@ impl View for ChannelModal {
|
|||
cx: &mut ViewContext<ChannelModal>,
|
||||
) -> AnyElement<ChannelModal> {
|
||||
let active = mode == current_mode;
|
||||
MouseEventHandler::<T, _>::new(0, cx, move |state, _| {
|
||||
MouseEventHandler::new::<T, _>(0, cx, move |state, _| {
|
||||
let contained_text = theme.tab_button.style_for(active, state);
|
||||
Label::new(text, contained_text.text.clone())
|
||||
.contained()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue