summaryrefslogtreecommitdiff
path: root/toolkit/nocui/common.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-05-09 20:25:37 -0500
committerJeff Carr <[email protected]>2023-05-09 20:25:37 -0500
commit26b06253d540fbcac2ae1372aa7fc0b1089bab98 (patch)
tree9afc2600ce0633e85990f8376091d93fec7c6d3a /toolkit/nocui/common.go
parent45ef7f37c4af0495ccf988f2f726aaea24a999e4 (diff)
more code cleanups
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/nocui/common.go')
-rw-r--r--toolkit/nocui/common.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/toolkit/nocui/common.go b/toolkit/nocui/common.go
index e68308d..a012138 100644
--- a/toolkit/nocui/common.go
+++ b/toolkit/nocui/common.go
@@ -35,9 +35,15 @@ func addWidget(a *toolkit.Action) *node {
n.I = a.I
n.S = a.S
n.B = a.B
+
n.X = a.X
n.Y = a.Y
+ n.W = a.W
+ n.H = a.H
+ n.AtW = a.AtW
+ n.AtH = a.AtH
+
// store the internal toolkit information
n.tk = new(nocuiT)