autocommit 2022-04-18 14:14:25 CEST
This commit is contained in:
parent
085ca95835
commit
54cf01f745
20 changed files with 155 additions and 109 deletions
|
|
@ -766,6 +766,10 @@ impl SizedNode for ContainerNode {
|
|||
self.visible.get()
|
||||
}
|
||||
|
||||
fn parent(&self) -> Option<Rc<dyn Node>> {
|
||||
Some(self.parent.get())
|
||||
}
|
||||
|
||||
fn last_active_child(self: &Rc<Self>) -> Rc<dyn Node> {
|
||||
if let Some(last) = self.focus_history.last() {
|
||||
return last.node.clone().node_last_active_child();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue