diff options
| author | Jeff Carr <[email protected]> | 2023-05-09 08:25:10 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-05-09 08:25:10 -0500 |
| commit | e19a728d7fe0059b87e7af84c7155fd6559ced6d (patch) | |
| tree | b0e40a9102137b73570fc624df03c78f01aaa10e /label.go | |
| parent | 52b197ebf33192eaeda64bbd4acb2e283a45b097 (diff) | |
andlabs grid placement still broken
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'label.go')
| -rw-r--r-- | label.go | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -7,11 +7,10 @@ import ( func (n *Node) NewLabel(text string) *Node { newNode := n.newNode(text, toolkit.Label, nil) - var a toolkit.Action - a.ActionType = toolkit.Add - a.Name = text - a.Text = text - newaction(&a, newNode, n) + n.Name = text + n.Text = text + a := newAction(n, toolkit.Add) + sendAction(a, newNode, n) return newNode } |
