mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
add page position for close action
This commit is contained in:
parent
985230de46
commit
5058c1be8a
4 changed files with 24 additions and 20 deletions
|
|
@ -133,8 +133,8 @@ impl Browser {
|
|||
|
||||
action_page_close.connect_activate({
|
||||
let window = window.clone();
|
||||
move |_, _| {
|
||||
window.tab_close();
|
||||
move |this, _| {
|
||||
window.tab_close(page_position_from_action_state(this));
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue