From 2ea148bec39d6b54dde4802d29410bef86b94de6 Mon Sep 17 00:00:00 2001 From: David Ashby Date: Wed, 28 Jul 2021 21:41:35 -0400 Subject: [PATCH] clarity --- cmd/manage/main.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/cmd/manage/main.go b/cmd/manage/main.go index 2b4b624..0abf39d 100644 --- a/cmd/manage/main.go +++ b/cmd/manage/main.go @@ -135,10 +135,7 @@ func main() { false, ) - // pop-up - popup := ui.NewBox("import", nil, nil, ui.StyleActive, false) - popup.SetVisible(false) - + // parent container container := ui.NewContainer( ui.Contents{ {Container: menu, Offsets: ui.Offsets{Percent: 1}}, @@ -147,6 +144,10 @@ func main() { ui.LayoutHorizontalPercent, ) + // import pop-up + popup := ui.NewBox("import", nil, nil, ui.StyleActive, false) + popup.SetVisible(false) + // init screen.Clear() w, h := screen.Size()