Merge pull request #2199 from zed-industries/welcome-experience
Welcome experience
This commit is contained in:
commit
37d01c7fb3
63 changed files with 2649 additions and 675 deletions
|
@ -102,7 +102,10 @@ impl<D: PickerDelegate> View for Picker<D> {
|
|||
.read(cx)
|
||||
.render_match(ix, state, ix == selected_ix, cx)
|
||||
})
|
||||
.on_down(MouseButton::Left, move |_, cx| {
|
||||
// Capture mouse events
|
||||
.on_down(MouseButton::Left, |_, _| {})
|
||||
.on_up(MouseButton::Left, |_, _| {})
|
||||
.on_click(MouseButton::Left, move |_, cx| {
|
||||
cx.dispatch_action(SelectIndex(ix))
|
||||
})
|
||||
.with_cursor_style(CursorStyle::PointingHand)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue