Remove PickerEvent::Dismiss emission from picker header
This commit is contained in:
parent
e9b34de7c8
commit
48371ab8b2
1 changed files with 1 additions and 3 deletions
|
@ -255,9 +255,7 @@ impl PickerDelegate for BranchListDelegate {
|
|||
Some(
|
||||
MouseEventHandler::<BranchList, _>::new(0, cx, move |_, _| label)
|
||||
.on_click(MouseButton::Left, move |_, _, _| {})
|
||||
.on_down_out(MouseButton::Left, move |_, _, cx| {
|
||||
cx.emit(PickerEvent::Dismiss)
|
||||
})
|
||||
.on_down_out(MouseButton::Left, move |_, _, _| {})
|
||||
.into_any(),
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue