add page position for close action

This commit is contained in:
yggverse 2024-11-04 20:22:27 +02:00
parent 985230de46
commit 5058c1be8a
4 changed files with 24 additions and 20 deletions

View file

@ -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));
}
});