diff options
| author | Jeff Carr <[email protected]> | 2024-01-11 19:10:24 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-11 19:10:24 -0600 |
| commit | 3b258d0ce0e20ffedf8804409a16abbe84f1d383 (patch) | |
| tree | 0273746324f274f5c95e96a32b06911f4dd40e05 /nocui/widget.go | |
| parent | c4582b0b30e3020a92baf299572d8617872d45e5 (diff) | |
var value any
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'nocui/widget.go')
| -rw-r--r-- | nocui/widget.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nocui/widget.go b/nocui/widget.go index c749c4b..6e50705 100644 --- a/nocui/widget.go +++ b/nocui/widget.go @@ -19,10 +19,10 @@ func initWidget(n *node) *guiWidget { } if (n.WidgetType == widget.Box) { - if (n.B) { - n.horizontal = true + if (n.direction == widget.Horizontal) { + // n.horizontal = true } else { - n.horizontal = false + // n.horizontal = false } } |
