fix(table): Use on_item_mb_double for double-click handler instead of on_item_mb_left
This commit is contained in:
parent
01e5593741
commit
c52ef97650
2 changed files with 2 additions and 2 deletions
|
|
@ -145,7 +145,7 @@ where
|
|||
})
|
||||
// Double click
|
||||
.apply(|mouse_area| {
|
||||
if let Some(ref on_item_mb) = val.on_item_mb_left {
|
||||
if let Some(ref on_item_mb) = val.on_item_mb_double {
|
||||
mouse_area.on_double_click((on_item_mb)(entity))
|
||||
} else {
|
||||
mouse_area
|
||||
|
|
|
|||
|
|
@ -206,7 +206,7 @@ where
|
|||
})
|
||||
// Double click
|
||||
.apply(|mouse_area| {
|
||||
if let Some(ref on_item_mb) = val.on_item_mb_left {
|
||||
if let Some(ref on_item_mb) = val.on_item_mb_double {
|
||||
mouse_area.on_double_click((on_item_mb)(entity))
|
||||
} else {
|
||||
mouse_area
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue