public Drawable PropagateChildren(UiEvent e) { for (int i = children.Count - 1; i >= 0; i--) { var child = children[i]; // Console.Log("propagate children", GetType(), child.GetType(), child.handleInput); if (child.handleInput) { var focus = child.Propagate(e); if (focus != null) { return(focus); } } } return(null); }
public override Drawable Propagate(UiEvent e) { // reverse propagation // Console.Log(GetType(), e.GetType()); return(PropagateChildren(e) ?? base.Propagate(e)); }