diff options
| author | Jeff Carr <[email protected]> | 2023-04-28 10:30:27 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-04-28 10:30:27 -0500 |
| commit | 03942de00e133daf59da8ed3b6c3e71ce8afe316 (patch) | |
| tree | a5d5e4b3899631d939b90d1cfa21bc165be76695 /window.go | |
| parent | 8b5f8fe42d9b161090ff91960050565959ac65dd (diff) | |
further code cleanups
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'window.go')
| -rw-r--r-- | window.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -10,14 +10,14 @@ func (n *Node) NewWindow(title string) *Node { var newNode *Node // Windows are created off of the master node of the Binary Tree - newNode = n.newNode(Config.Title, toolkit.Window, StandardExit) + newNode = n.newNode(title, toolkit.Window, StandardExit) - log(logInfo, "NewWindow()", Config.Title) + log(logInfo, "NewWindow()", title) var a toolkit.Action a.ActionType = toolkit.Add - a.X = Config.Width - a.Y = Config.Height + a.X = n.X + a.Y = n.Y a.Name = title a.Text = title newaction(&a, newNode, n) |
