diff options
| author | Jeff Carr <[email protected]> | 2024-01-28 21:38:12 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-28 21:38:12 -0600 |
| commit | 01ac243151f8bcb72bc66405dc7c80d239c2abd9 (patch) | |
| tree | 570440d9df30bb938935ac27ff89ccfcc9cdf4ed | |
| parent | fd1e048167ef152a5c04bc58f00ec22a0dffc08c (diff) | |
pass grid state
Signed-off-by: Jeff Carr <[email protected]>
| -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 } |
