diff options
| author | Jeff Carr <[email protected]> | 2024-01-18 00:43:48 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-18 00:43:48 -0600 |
| commit | aff82aa4ea8f9e7dcc549afec9218154e1d9c7bd (patch) | |
| tree | 1ef64a2a6806a6f3bbcf9e0fc8715fd824e9d53a /redraw.go | |
| parent | d048182ab8e2b3e35aacffce7306583f5caae3aa (diff) | |
new pathsv0.12.14
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'redraw.go')
| -rw-r--r-- | redraw.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,15 +1,15 @@ package gui import ( + "go.wit.com/lib/widget" "go.wit.com/log" - "go.wit.com/gui/widget" ) // This recreates the whole GUI for a plugin // func (n *Node) ListChildren(dump bool, dropdown *Node, mapNodes map[string]*Node) { func (n *Node) redraw(p *aplug) { - if (n == nil) { + if n == nil { return } @@ -40,7 +40,7 @@ func (n *Node) redo(plug *aplug) { a.AtW = n.AtW a.AtH = n.AtH - if (n.parent == nil) { + if n.parent == nil { a.ParentId = 0 } else { a.ParentId = n.parent.id |
