1
0
Fork 0
forked from wry/wry

tree: add Node::node_accepts_focus

This commit is contained in:
Julian Orth 2025-07-19 21:59:43 +02:00
parent dbc954dded
commit 5a004c3d31
4 changed files with 20 additions and 0 deletions

View file

@ -720,6 +720,13 @@ impl Node for FloatNode {
self.update_child_title(title);
}
fn node_accepts_focus(&self) -> bool {
if let Some(c) = self.child.get() {
return c.tl_accepts_keyboard_focus();
}
false
}
fn node_find_tree_at(
&self,
x: i32,