Switch MouseEventHandler to use MouseRegions
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
This commit is contained in:
co-authored by
Max Brunsfeld
parent
50edcb06dd
commit
893f15ddab
@@ -788,7 +788,7 @@ impl Pane {
|
||||
.with_cursor_style(CursorStyle::PointingHand)
|
||||
.on_click({
|
||||
let pane = pane.clone();
|
||||
move |_, cx| {
|
||||
move |_, _, cx| {
|
||||
cx.dispatch_action(CloseItem {
|
||||
item_id,
|
||||
pane: pane.clone(),
|
||||
|
||||
Reference in New Issue
Block a user