From aff82aa4ea8f9e7dcc549afec9218154e1d9c7bd Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 18 Jan 2024 00:43:48 -0600 Subject: new paths Signed-off-by: Jeff Carr --- redraw.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'redraw.go') diff --git a/redraw.go b/redraw.go index 7196baf..3fb5a18 100644 --- a/redraw.go +++ b/redraw.go @@ -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 -- cgit v1.2.3