diff options
| author | Jeff Carr <[email protected]> | 2023-05-09 18:34:09 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-05-09 18:34:09 -0500 |
| commit | b392c40969e105b00efa262042d647303d6fbc2c (patch) | |
| tree | 95e25e5e288c096df69c36e2293af5ebc17a1d78 /plugin.go | |
| parent | 706bcef867ff2a26ab62a1e3d668ac441575df62 (diff) | |
andlabs: now attempt grid placement
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'plugin.go')
| -rw-r--r-- | plugin.go | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -212,6 +212,9 @@ func newAction(n *Node, atype toolkit.ActionType) *toolkit.Action { a.Name = n.Name a.Text = n.Text a.WidgetId = n.id + if (n.parent != nil) { + a.ParentId = n.parent.id + } a.WidgetType = n.WidgetType return &a @@ -233,7 +236,7 @@ func newaction(a *toolkit.Action, n *Node, where *Node) { if (where != nil) { a.ParentId = where.id if (where.WidgetType == toolkit.Grid) { - placeGrid(a, n, where) + n.gridIncrement() } } |
