diff options
| -rw-r--r-- | action.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -88,6 +88,9 @@ func getNewAction(n *Node, atype widget.ActionType) *widget.Action { a.State.GridOffset.X = n.AtW a.State.GridOffset.Y = n.AtH + a.State.AtW = n.AtW + a.State.AtH = n.AtH + if n.parent != nil { a.ParentId = n.parent.id } |
