mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 09:10:08 +00:00
remove shared position holder
This commit is contained in:
parent
0a65d67989
commit
5df952603e
@ -51,14 +51,12 @@ impl Tab {
|
||||
let state = match tab_page {
|
||||
// on menu open
|
||||
Some(this) => {
|
||||
let position = tab_view.page_position(this);
|
||||
if let Some(id) = this.keyword() {
|
||||
if let Some(item) = index.borrow().get(&id) {
|
||||
item.page.update(); // update window actions using page of tab activated
|
||||
}
|
||||
}
|
||||
|
||||
Some(position) // activated tab
|
||||
Some(tab_view.page_position(this)) // activated tab
|
||||
}
|
||||
// on menu close
|
||||
None => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user