Browser returns the parent browser
()
| 82 | |
| 83 | // Browser returns the parent browser |
| 84 | func (tn *Node) Browser() *Browser { |
| 85 | return tree.ParentByType[*Browser](tn) |
| 86 | } |
| 87 | |
| 88 | func (tn *Node) ContextMenu(m *core.Scene) { |
| 89 | vd := core.NewButton(m).SetText("View Diffs").SetIcon(icons.Add) |
no outgoing calls
no test coverage detected