summaryrefslogtreecommitdiff
path: root/slider.go
diff options
context:
space:
mode:
Diffstat (limited to 'slider.go')
-rw-r--r--slider.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/slider.go b/slider.go
index 2164340..1d2d23d 100644
--- a/slider.go
+++ b/slider.go
@@ -10,7 +10,7 @@ func (n *Node) NewSlider(name string, x int, y int) *Node {
})
var a toolkit.Action
- a.Type = toolkit.Add
+ a.ActionType = toolkit.Add
a.X = x
a.Y = y
// a.Widget = &newNode.widget