Use layers to correct mouse event handling too
This commit is contained in:
parent
17b5f9294c
commit
ca0dcf741f
3 changed files with 72 additions and 36 deletions
|
@ -114,7 +114,6 @@ impl<D: PickerDelegate> Picker<D> {
|
|||
}
|
||||
|
||||
fn cancel(&mut self, _: &menu::Cancel, cx: &mut ViewContext<Self>) {
|
||||
dbg!("canceling!");
|
||||
self.delegate.dismissed(cx);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue