parent
94ed0b7767
commit
fcadcbb510
5 changed files with 189 additions and 53 deletions
|
@ -162,7 +162,9 @@ impl RenderOnce for ContextPill {
|
|||
})
|
||||
.when_some(on_click.as_ref(), |element, on_click| {
|
||||
let on_click = on_click.clone();
|
||||
element.on_click(move |event, window, cx| on_click(event, window, cx))
|
||||
element
|
||||
.cursor_pointer()
|
||||
.on_click(move |event, window, cx| on_click(event, window, cx))
|
||||
}),
|
||||
ContextPill::Suggested {
|
||||
name,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue