diff options
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 |
