summaryrefslogtreecommitdiff
path: root/redraw.go
diff options
context:
space:
mode:
Diffstat (limited to 'redraw.go')
-rw-r--r--redraw.go6
1 files changed, 3 insertions, 3 deletions
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