summaryrefslogtreecommitdiff
path: root/grid.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-04-08 11:06:50 -0500
committerJeff Carr <[email protected]>2023-04-08 11:06:50 -0500
commitda6a4363226f14aa893be02cb4a73cbf34fd77e7 (patch)
tree8f1f2c5d59e72961c87ff9c9ede0a4b3f2ab9c3f /grid.go
parentfa0718ff48a2ac2f8b54aed3060101f159484c86 (diff)
andlabs: the binary tree limps along again
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'grid.go')
-rw-r--r--grid.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/grid.go b/grid.go
index 18eb7d8..da9321e 100644
--- a/grid.go
+++ b/grid.go
@@ -17,7 +17,7 @@ import (
// -----------------------------
func (n *Node) NewGrid(name string, w int, h int) *Node {
- newNode := n.New(name, toolkit.Grid, func() {
+ newNode := n.newNode(name, toolkit.Grid, func() {
log(debugChange, "click() NewGrid not defined =", name)
})
@@ -39,7 +39,7 @@ func (n *Node) NewGrid(name string, w int, h int) *Node {
}
func (n *Node) NewBox(name string, b bool) *Node {
- newNode := n.New(name, toolkit.Box, nil)
+ newNode := n.newNode(name, toolkit.Box, nil)
newNode.B = b
var a toolkit.Action